This content has been marked as final.
Show 7 replies
-
1. Re: Modalpanel position upper left corner after a non ajax r
nbelaevski Feb 1, 2008 3:19 PM (in response to jbuechel)The only workaround for now is to open modal panel on window.onload
-
2. Re: Modalpanel position upper left corner after a non ajax r
jbuechel Feb 4, 2008 2:36 AM (in response to jbuechel)Thanks for your reply, Nick!
Will there be a fix for this in future releases? Or is it a firefox "issue"? -
3. Re: Modalpanel position upper left corner after a non ajax r
darmstadter Feb 4, 2008 3:21 AM (in response to jbuechel)i habe the same problem with contextMenu with version 3.2-snapshot, the position is false, upper left corner. but with version 3.1.3 it works well.
-
4. Re: Modalpanel position upper left corner after a non ajax r
ilya_shaikovsky Feb 4, 2008 5:27 AM (in response to jbuechel)show please the code for context menu..
-
5. Re: Modalpanel position upper left corner after a non ajax r
darmstadter Feb 11, 2008 9:29 AM (in response to jbuechel)the code of the context menu:
<rich:treeNode id="TreeNav_TreeNode2" type="DeviceNode" iconLeaf="#{item.iconPath}" icon="#{item.iconPath}" selectedClass="UnvisibleBox" > <a4j:commandLink value="" reRender="panelbar,Main_TabPanel2" actionListener="#{ctrl.deviceSelected}"> <f:param name="devicePhysName" value="#{item.dataItem.physName}" /> <h:outputText id="DeviceName" value="#{item.name}"/> </a4j:commandLink> <rich:contextMenu id="contextMenuId" event="oncontextmenu" attached="true" submitMode="none" > <rich:menuItem id="properties" value="Show Property" submitMode="ajax" reRender="detailsMp,modalContent,common_modalpanel,panelbar,Main_TabPanel2" actionListener="#{ctrl.deviceSelected}" oncomplete="Richfaces.showModalPanel('detailsMp')" > <f:param name="devicePhysName" value="#{item.dataItem.physName}" /> </rich:menuItem> <rich:menuItem value="Show Connections" id="connectionItem" submitMode="ajax" reRender="detailsConnection,ConnectionContent" actionListener="#{ctrl.deviceSelected}" oncomplete="Richfaces.showModalPanel('detailsConnection')" > <f:param name="devicePhysName" value="#{item.dataItem.physName}" /> </rich:menuItem> </rich:contextMenu> </rich:treeNode>
-
6. Re: Modalpanel position upper left corner after a non ajax r
jbuechel Feb 11, 2008 11:18 AM (in response to jbuechel)The only workaround for now is to open modal panel on window.onload
Nick, can i use the <rich:componentControl> somehow for this? -
7. Re: Modalpanel position upper left corner after a non ajax r
darmstadter Feb 12, 2008 5:54 AM (in response to jbuechel)the above code of contextMenu works again with version: 3.2.0-SNAPSHOT.
new problem:
There are 4 nodes in tree, the contextMenu is connected with every node, but only by right mouse click on the first node, the contextmenu shows, no reaction with others nodes. but the following code works well with version:3.1.3<rich:treeNode id="TreeNav_TreeNode2" type="DeviceNode" iconLeaf="#{item.iconPath}" icon="#{item.iconPath}" selectedClass="UnvisibleBox" > <a4j:commandLink value="" reRender="panelbar,Main_TabPanel2" actionListener="#{ctrl.deviceSelected}"> <f:param name="devicePhysName" value="#{item.dataItem.physName}" /> <h:outputText id="DeviceName" value="#{item.name}"/> </a4j:commandLink> <rich:contextMenu id="contextMenuId" event="oncontextmenu" attached="true" submitMode="none" > <rich:menuItem id="properties" value="Show Property" submitMode="ajax" reRender="detailsMp,modalContent,common_modalpanel,panelbar,Main_TabPanel2" actionListener="#{ctrl.deviceSelected}" oncomplete="Richfaces.showModalPanel('detailsMp')" > <f:param name="devicePhysName" value="#{item.dataItem.physName}" /> </rich:menuItem> <rich:menuItem value="Show Connections" id="connectionItem" submitMode="ajax" reRender="detailsConnection,ConnectionContent" actionListener="#{ctrl.deviceSelected}" oncomplete="Richfaces.showModalPanel('detailsConnection')" > <f:param name="devicePhysName" value="#{item.dataItem.physName}" /> </rich:menuItem> </rich:contextMenu> </rich:treeNode>