Your selection action passes the object x. You may be able to return a string 
of the view such as "/myobjectview.seam?id=" + x.id. I haven't tried this.

Better still you could use the navigation rules in pages.xml as per the seam 
documentation (section 5.1.1.2):


  | <page view-id="/viewSelector.xhtml">
  |     
  |     <navigation from-action="#{viewSelector.viewForUpdate}">
  |         <rule if="objectViewOne">
  |             <end-conversation/>
  |             <redirect view-id="/objectViewOne.xhtml">
  |                 <param name="id" value="#{viewSelector.x}"/>
  |             </redirect>
  |         </rule>
  |     </navigation>
  |     
  | </page>
  | 

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

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

Reply via email to