You could do away with pageflows and use pages.xml for your navigation logic.  
You could then just return the view as a string from your method.

http://docs.jboss.com/seam/2.0.0.CR2/reference/en/html_single/#d0e5182

anonymous wrote : If you find navigation rules overly verbose, you can return 
view ids directly from your action listener methods:
  | public String guess() {
  |   |     if (guess==randomNumber) return "/win.jsp";
  |   |     if (++guessCount==maxGuesses) return "/lose.jsp";
  |   |     return null;
  |   | }
  | Note that this results in a redirect.....

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

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

Reply via email to