[
https://jira.jboss.org/jira/browse/RF-3426?page=com.atlassian.jira.plugin...
]
Pavel Yaschenko resolved RF-3426.
---------------------------------
Resolution: Done
Assignee: Tsikhon Kuprevich (was: Pavel Yaschenko)
You should the attribute attached="false" for contextMenu to avoid double
event:
<rich:contextMenu id="ccContextMenuID" submitMode="ajax"
onexpand="alert(event.parameters.expand)" attached="false">
ComponentControl: js error
--------------------------
Key: RF-3426
URL:
https://jira.jboss.org/jira/browse/RF-3426
Project: RichFaces
Issue Type: Bug
Components: planning_all
Affects Versions: 3.2.1
Environment: myfaces
Reporter: Aleksej Yanul
Assignee: Tsikhon Kuprevich
Fix For: 3.3.0
Original Estimate: 1 day
Remaining Estimate: 1 day
event has no properties
evalScripts(undefined)a4j_3_2_1-SNAPSHO... (line 398)
bindAsEventListener(undefined)a4j_3_2_1-SNAPSHO... (line 217)
LMPopUpL("formID:componentControlSubviewID:ccContextMenuID_menu",
true)menu.js.jsf (line 128)
LMPopUp("formID:componentControlSubviewID:ccContextMenuID_menu",
false)menu.js.jsf (line 83)
show()menu.js.jsf (line 423)
(no name)()a4j_3_2_1-SNAPSHO... (line 210)
[Break on this error] },
/// code ///
<rich:panelMenu id="ccContextMenuPanelMenuID">
<h:outputText value="click text" />
</rich:panelMenu>
<rich:contextMenu id="ccContextMenuID" submitMode="ajax"
onexpand="alert(event.parameters.expand)">
<rich:menuItem value="tab1">
</rich:menuItem>
<rich:menuSeparator />
<rich:menuItem value="a">
</rich:menuItem>
<rich:menuItem value="b">
</rich:menuItem>
<rich:menuItem value="c">
</rich:menuItem>
</rich:contextMenu>
<rich:componentControl event="oncontextmenu"
attachTo="ccContextMenuPanelMenuID" for="ccContextMenuID"
operation="show"
params="expand:'show work'" />
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira