  | Mailing List | | Home | | Forum Home | | JBoss - Java Application Server | | Tomcat - JSP/Servlet container | | Struts - A MVC web framework | | iText - An open source PDF Java Library | | JDOM - JDOM XML Parser | | J2EE - A mailing list for Java(tm) 2 Platform, Enterprise Edition | | JSP - A mailing list about Java Server Pages specification and reference | | J2EE Pattern - An interest list for Sun Java Center J2EE Pattern Catalog | | Servlet - A mailing list for discussion about Sun Microsystem's Java Servlet API Technology | |
Struts & Hibernate
|
|
|
  | | | - Pages.enterPage and FaceletsViewHandler.buildView | - Pages.enterPage and FaceletsViewHandler.buildView 2007-08-08 - By andrew.rw.robinson
Back I am trying to get the functionality of JBoss Seam's pages.xml to work with facelet include files. This way I can have security and action methods called on included views as well as the main page.
The problem I am having is one of order of execution. Pages.enterPage is called from a PhaseListener in the before render event. FaceletsViewHandler.buildView is called from the renderView function. So, when the page is "entered", the view is not built yet, so I can't surf the component hierarchy of the page to find my include components and determine their view ID to have Pages check on it.
Anyone have any bright ideas on how I can get the Pages functionality to be executed after the view is built, but before it is rendered without having to change Facelets or Seam source?
-Andrew
Facelets 1.1.11 Seam 1.2.1
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072237#4072237
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072237 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |