[
http://jira.jboss.com/jira/browse/RF-1639?page=all ]
Nick Belaevski resolved RF-1639.
--------------------------------
Resolution: Won't Fix
Not a bug. You should have enclose strings containing spaces in '':
<rich:componentControl event="oncontextmenu"
attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
operation="expand" params="expand:'onexpand work'" />
componentControl & contextMenu: JS ERROR
------------------------------------------
Key: RF-1639
URL:
http://jira.jboss.com/jira/browse/RF-1639
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.1.3
Environment: IE 6
tomcat 6.0.13
jsp
Reporter: Aleksej Yanul
Assigned To: Maksim Kaszynski
Fix For: 3.1.3
<rich:panelMenu id="ccContextMenuPanelMenuID">
<h:outputText value="click text" />
</rich:panelMenu>
<rich:contextMenu id="ccContextMenuID" submitMode="ajax"
onexpand="alert(event.parameters.expand)">
<rich:menuItem icon="/pics/header.png" value="tab1">
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem icon="/pics/info.gif" value="a">
</rich:menuItem>
<rich:menuItem icon="/pics/info.gif" value="b">
</rich:menuItem>
<rich:menuItem icon="/pics/info.gif" value="c">
</rich:menuItem>
</rich:contextMenu>
<rich:componentControl event="oncontextmenu"
attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
operation="expand" params="expand:onexpand work" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira