Here's a trivial example I just test. I generated a stub seam-gen app and add two pages: private.xhtml and nope.xhtml. I attached a page action to private.xhtml: (this is equivalent to adding the action to pages.xml)
private.page.xhtml | <!DOCTYPE page PUBLIC | "-//JBoss/Seam Pages Configuration DTD 1.1//EN" | "http://jboss.com/products/seam/pages-1.1.dtd"> | | <page action="#{check.check}" /> | Check.java: | package example; | | import org.jboss.seam.annotations.*; | | @Name("check") | public class Check { | @RequestParameter | String secret; | | public String check() { | return secret==null ? "/nope.xhtml" : null; | } | | } "/private.seam" shows the content of the nope page and "/private/seam?secret=" shows the content of the private page. Hope that helps in your debugging effort. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996658#3996658 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996658 _______________________________________________ jboss-user mailing list [email protected] https://lists.jboss.org/mailman/listinfo/jboss-user
