You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Scott O'Bryan (Updated) (JIRA)" <de...@myfaces.apache.org> on 2012/02/22 00:58:49 UTC
[jira] [Updated] (TRINIDAD-1127) XMLMenu / CommandNavigationItem
[ https://issues.apache.org/jira/browse/TRINIDAD-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott O'Bryan updated TRINIDAD-1127:
------------------------------------
Resolution: Fixed
Fix Version/s: 1.2.12-core
Assignee: Matthias Weßendorf
Status: Resolved (was: Patch Available)
> XMLMenu / CommandNavigationItem
> -------------------------------
>
> Key: TRINIDAD-1127
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1127
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Affects Versions: 1.0.8-core
> Environment: Win XP/ Jboss 4.0.4
> Reporter: Jim Dolinski
> Assignee: Matthias Weßendorf
> Fix For: 1.2.12-core
>
> Attachments: TRINIDAD-1127.patch
>
>
> I am using the new XML menu model, it is much simpler and easier to use, thanks.
> I am having problems when using both an action and destination property on the commandNavigationItem component. When both are used any actions fail to fire. I looked at the generated html and the href appears to be empty when the destination is included?
> <a href="" name="form:page:3:cmdNavItem" id="form:page:3:cmdNavItem">
> If I remove the destination property I recieve:
> <a href="#" onclick="submitForm('form',0,{source:'form:page:3:cmdNavItem'});return false;" name="form:page:3:cmdNavItem" id="form:page:3:cmdNavItem">
> According to the documentation, "If both attributes are set on an itemNode, the "destination" attribute takes precedence and a GET is done".
> Any help is appreciated,
> Jim Dolinski
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira