[jboss-user] [JBoss Seam] - Re: params in pageflows?

Delphi's Ghost do-not-reply at jboss.com
Wed Jun 27 13:27:15 EDT 2007


I think view-ids are used as identifiers as much as a url, hence there is no EL interpolation done on them. If you notice, anywhere a view is referenced for redirection, the parameters for the view are separate as opposed to part of the view-id.

I did think about my problem and whether EL offered a solution as a way to pass params. Begin able to write:


  | <redirect view="/pages/viewItem.xhtml?itemId=#{item.id}"/> 
  | 

would be cool, but impossible I think.

However, I think it should be possible  to do what you want by returning the view-id from an action method : 


  | @In
  | private String homePage;
  | 
  | void returnHome() {
  |   return homePage;
  | }
  | 
  | 

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

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



More information about the jboss-user mailing list