7 Replies Latest reply on Sep 25, 2007 10:27 PM by Daniel Hinojosa

    Is it to late to get this CRITICAL feature in before the off

    Daniel Hinojosa Master

      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>