[jboss-user] [JBoss Seam] - Newbie Question on JSF/Seam

rvaneperen do-not-reply at jboss.com
Fri Jun 22 00:01:03 EDT 2007


I just started with JSF Seam.  I have created a working page that searches for a program for a client.  The result is displayed in a datatable.  The data displayed in the table comes from a List of simple POJOs bound to the table.  One of the columns has a commandLink that is bound to a method on the backing bean.  The idea is to somehow make available the client id (String) and program id (Integer) associated with the row selected, set them on a "real" client object and make that available to the page to which I will navigate (which can vary based on the page from which the user arrived).  I'm sure there are a few ways to do this, but would like a best practice if there is one. This client object will be required to continue being passed around the system until someone navigates back to the search and selects a new client and program.  I have figured out the basics of how to use @Name on the client class and use an @Out and @In on the backing bean properties, just not how to make the two properties in the List available to set on it.

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

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




More information about the jboss-user mailing list