]
Matthew Lieder commented on JBSEAM-1971:
----------------------------------------
Ah, he already found that out in the forum post; this issue needs to be closed.
Allow actions to have parameters in pages.xml
---------------------------------------------
Key: JBSEAM-1971
URL:
http://jira.jboss.com/jira/browse/JBSEAM-1971
Project: JBoss Seam
Issue Type: Feature Request
Components: Framework
Affects Versions: 2.0.0.CR1
Environment: JBoss-4.2.1, Seam 2.0.0 Daily Build, JDK 6,
Reporter: Dan Hinojosa
Priority: Critical
For a well-rounded navigation system for seam, we need to be able to set parameters in
the action tags for the page in the pages.xml file. See in the below example where I
have <!--Man o' man, I would love to do this!--> comments. Currently we are
unable to set these parameters. This would be tremendous asset to the 2.0.0 release and
make the framework very flexible and would promote code reuse. This would have nothing to
do creating RESTful pages, this is just a way to be able to better initialize components
before page rendering.
<page view-id="/quote/fencequote.xhtml">
<action execute="#{searchAllAvailableFencesBean.search}" >
<param name="type" value="fence"/> <!--Man
o' man, I would love to do this!-->
<param name="subtype" value="standard"/>
<!--Man o' man, I would love to do this!-->
</action>
<action execute="#{searchAllColorsBean.search}"/>
<begin-conversation join="true"/>
<navigation from-action="#{fenceQuoteManagerBean.save}">
<redirect view-id="/quote/fencequotethanks.xhtml"/>
<end-conversation/>
</navigation>
</page>
P.S. This would also have to entail modification of the xsd file.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: