I really really need this feature in. I would like to specify actions with
parameters in the page element of pages.xml. Please take a look at my code
snippet below, where I have commented "Man o' man, I would love to do this".
Currently you can specify actions per page to run before the page becomes
available, but you cannot specify any parameters, and I would really like to
set those.
BTW, this would have nothing to do with a RESTful page, this just to have
certain state in my beans before rendering the page.
| <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>
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088562#4088562
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088562
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user