  | 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
|
|
|
  | | | - Re: possible to specify action in pageflow transitio | - Re: possible to specify action in pageflow transitio 2007-07-14 - By ellenzhao
Back the last time I wrote page flow definition in jPDL was last year December, so I do not know whether this Seam Enhanced EL is also working in jPDL....For your scenario there is a workaround. You can make your "item" your action bean managed (write it as a member like private Item historyItem; and write setter and getter. Change the signature of your selectHistoryItem, make it take no parameter. Finally expose the setter and getter in the business interface of your action bean), and bind the value of your historyItem somewhere in your page form (so you do not have to pass the item as parameter in your selectHistoryItem()). This way you can call the selectHistoryItem() in your jPDL file like this:
<page name="history" view-id="/history.xhtml"> ....
Currently I am also implementing a master-detail pattern but using "nested conversations + rendering flags (all boolean) in conversation beans + multilevel, conditional facelet templating" approach.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4064235#4064235
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4064235 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |