This content has been marked as final.
Show 3 replies
-
1. Re: rich:contextMenu disabled all <a> links
ilya_shaikovsky Oct 14, 2009 8:15 AM (in response to doriang)RF version? page code?
-
2. Re: rich:contextMenu disabled all <a> links
doriang Oct 14, 2009 10:11 AM (in response to doriang)menu look like this
<rich:menuItem> <s:link view="/Tree.xhtml" value="Administration" id="AdministrationId" includePageParams="false" propagation="none"/> </rich:menuItem> .....
and contexmenu like this<rich:contextMenu event="onclick" attachTo="node" submitMode="server" > <rich:menuItem submitMode="server" value="starttask" rendered="#{!status.workpersonIsAktiv}" action="#{treeHandler.starttask(node.id)}"> </rich:menuItem> <rich:menuItem submitMode="ajax" value="create SubTask" action="#{treeHandler.showselectedNode(node.id)}" oncomplete="Richfaces.showModalPanel('CrTaskMP');"> </rich:menuItem> <rich:menuItem submitMode="ajax" value="TaskDetails" action="#{treeHandler.showselectedNode(node.id)}" oncomplete="Richfaces.showModalPanel('TaskDetails');" reRender="TaskDetailsOPanel"> </rich:menuItem> </rich:contextMenu>
seam version is 2.1.2 GA
and richfaces is included in seam and version 3.2.2 -
3. Re: rich:contextMenu disabled all <a> links
ilya_shaikovsky Oct 14, 2009 10:57 AM (in response to doriang)1) you need to add submitMode='none' to menuItem which should contains s:link inside working.
2) as far as I remember there was an issue that menuItem prevented any links inside from working because of events catched and stopped. So please try 3.3.2 GA for test if 1) not helps.