I'm asking if there's any community interest in supporting wildcards in the
from-action in pages.xml.
For example:
pages.xml:
| <navigation from-action="#{logoEditor.editLogo(*)}">
| <redirect view-id="/edit.xhtml"/>
| </navigation>
|
logoPage.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.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4118415#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...