[jbossseam-issues] [JBoss JIRA] Created: (JBSEAM-2481) Support wildcards in pages.xml from-action

Mark Michalek (JIRA) jira-events at lists.jboss.org
Thu Jan 10 10:02:44 EST 2008

Support wildcards in pages.xml from-action

                 Key: JBSEAM-2481
                 URL: http://jira.jboss.com/jira/browse/JBSEAM-2481
             Project: JBoss Seam
          Issue Type: Feature Request
          Components: Core
    Affects Versions: 2.0.1.CR1
            Reporter: Mark Michalek
            Priority: Minor

Support wildcards in the from-action in pages.xml.   Forcing pages.xml to be aware of specific variable names in actions makes from-actions brittle.

For example:
<navigation from-action="#{logoEditor.editLogo(*)}">
     <redirect view-id="/edit.xhtml"/>

<h:commandLink value="LinkOne" action="#{logoEditor.editLogo(goodLogo)}"/>
<h:commandLink value="LinkTwo" action="#{logoEditor.editLogo(badLogo)}"/>

For this example, both LinkOne and LinkTwo would navigate to /edit.xhtml because both of the actions match the #{logoEditor.editLogo(*)} pattern.

In other words, the specific variable names on an action don't matter when the navigation is evaluated because pages.xml specifies a wildcard (*) for the parameters.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list