http://docs.jboss.com/seam/latest/reference/en/html/events.html#d0e3872

Here's one source of documentation for it. 

Simply bind parameters in pages.xml to values in the backing component to get a 
2 way passing of values from the form to the backing bean via request 
parameters.

i.e. 


  | <page view-id="mySearch">
  | <param name="lastName" value="#{myBean.lastName}">
  | </page>
  | 

Now, when you call \mySearch.seam?lastName=smith the value will be put into the 
backing bean.

On your form, you simply put : 


  |   <h:inputText value="#{myBean.lastName}"/>
  | 

and the parameter will appear in the form based on the parameter.

So the parameter makes the trip from  parameter in the request-> Put into the 
backing bean -> Value on the form bound to the backing bean.

When you run the query, you can just refer to the lastName field in the MyBean 
class to get the value.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112976
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to