[jboss-user] [JBoss Seam] - Passing a static param in pages.xml

monkeyden do-not-reply at jboss.com
Tue May 22 18:09:34 EDT 2007


I am trying to pass a static param to an action method when a specific view id is invoked.  I have tried the following ways to no avail:

pages.xml
<page view-id="/propertySearch/test1.xhtml" action="#{manager.createAction}">
  |     <param name="paramName" value="advancedPropertySearch"/>
  | 
  | </page>
  | <page view-id="/propertySearch/test1.xhtml" action="#{manager.createAction('advancedPropertySearch')}" />
  | <page view-id="/propertySearch/test1.xhtml" action="#{manager.createAction(1)}" />

components.xml
<factory name="advancedPropertySearch" auto-create="true" value="advancedPropertySearch"/>

I happen to be using ICEFaces 1.6DR#4 (which has it's own el jars) with Seam 1.2.1.  I seem to remember Seam having a separate jar file for EL extensions.  Maybe I need to use those?

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047727#4047727

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047727



More information about the jboss-user mailing list