[jbossseam-issues] [JBoss JIRA] Updated: (JBSEAM-3296) actions in .xhtml specified without parentheses do not match equivalent pages.xml navigation rules that do have parentheses, and vice verse

Pete Muir (JIRA) jira-events at lists.jboss.org
Thu Aug 21 09:54:39 EDT 2008


     [ https://jira.jboss.org/jira/browse/JBSEAM-3296?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated JBSEAM-3296:
------------------------------

    Component/s: JSF Integration
                     (was: Framework)


> actions in .xhtml specified without parentheses do not match equivalent pages.xml navigation rules  that do have parentheses, and vice verse
> --------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBSEAM-3296
>                 URL: https://jira.jboss.org/jira/browse/JBSEAM-3296
>             Project: Seam
>          Issue Type: Bug
>          Components: JSF Integration
>    Affects Versions: 2.0.1.GA
>            Reporter: Ian Springer
>
> I was banging my head against the wall for quite a while before I figured out why my pages.xml nav rule wasn't kicking in. 
> In my .xhtml file, I had:
>         <h:commandButton value="#{messages['button.ok']}" action="#{operationAction.invokeOperation}"/>
> which was not matching the following rule in my pages.xml:
>         <navigation from-action="#{operationAction.invokeOperation()}">
>             <redirect view-id="/secure/resourceInstanceOperation.xhtml"/>
>         </navigation>
> (Note the h:commandButton action does not have parens, but the navigation from-action does have parens.
> action.foo should match action.foo(), as well action.foo, and vice verse, being as they mean the exact same thing semantically. The current behavior is not intuitive and will cost users a lot of wasted time and frustration. 
> Note, this bug exists for actions on s:buttons, as well as actions on h:commandButtons.

-- 
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 seam-issues mailing list