[richfaces-issues] [JBoss JIRA] Commented: (RF-3426) ComponentControl: js error
Pavel Yaschenko (JIRA)
jira-events at lists.jboss.org
Tue Dec 16 10:24:05 EST 2008
[ https://jira.jboss.org/jira/browse/RF-3426?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12442845#action_12442845 ]
Pavel Yaschenko commented on RF-3426:
-------------------------------------
You should use 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
More information about the richfaces-issues
mailing list