[ http://issues.apache.org/jira/browse/MYFACES-20?page=comments#action_61905 ] Martin Bosak commented on MYFACES-20: -------------------------------------
Forgot to add. Here's an example of the resulting jscook_action string: miscMenu:#{UserSettingsMenu.changeLocale};#{UserSettingsMenu.languageItem}=de miscMenu is the component ID specified in the JSP. UserSettingsMenu.changeLocale is the action method binding UserSettingsMenu.languageItem is the property name in the UserSettingsMenu bean > JSCookMenus cause duplicated execution of MethodBinding > ------------------------------------------------------- > > Key: MYFACES-20 > URL: http://issues.apache.org/jira/browse/MYFACES-20 > Project: MyFaces > Type: Bug > Versions: 1.0.7 beta > Environment: JBoss 4.0 > Reporter: > Assignee: Thomas Spiegl > > I have on my page different JSCookMenus. Problem is, that when I select an > MenuItem to execute a MethodBinding, this Methodbinding is executed as often > as I have JSCookMenus on my page. > I assume, that in the background only an action is set and not the context of > the menu. This would cause for each "decode" of the HtmlJSCookMenu an > ActionEvent to be queued. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira