  | 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
|
|
|
  | | | - use of Browser back Button gives me afterwords wrong | - use of Browser back Button gives me afterwords wrong 2007-07-16 - By EverlastX1
Back The Problem is like this: I get a result List lets say with 5 Documents about Seam. Each one with a creator. If I now click on one of the creator in this seam list I get a result list with all documents by this creator. So far this is working fine.
But !!! if I use the browser Back Button I get back to the Prev. 5 sem result list.So far as expected. If I then click on another creator name. I get the same result as before.
I use Statefull Beans and I would like to keep using it. I guess if I switch to Stateless I want get this problem but.
Here another aproach of explanation
Search for SEAM Gives this Results:
| Seam doc A | Seam doc B | Seam doc C -->eg. click on creator C | Seam doc D | Seam doc E | | | after clicking on creator C | | | doc by C | | doc by C | | doc by C | | | | Browser back Button << | | | Seam doc A | | Seam doc B | | Seam doc C | | Seam doc D | | Seam doc E-->click on creator E | | | | after clicking on creator E | | | doc by C | | doc by C | | doc by C | | | | | | //This is inside a DataTable // | | <!-- Creator --> | | <!-- Put the Form here dont change nothing--> | | <h:outputText value="Creator:" rendered="#{not empty doc.creator}" /> | | <t:dataList | | var="a" value="#{doc.creator}" | | layout="simple" | | rowCountVar="rowCount" | | rowIndexVar="rowIndex"> | | <h:form styleClass="subText" style="margin:auto;padding:auto; / *just for the IE*/"> | | <h:commandLink value="[#{a}]" action="#{searcher .searchByCreator(a)}" /> | | </h:form> | | <h:outputText value=", " rendered="#{rowIndex + 1 lt rowCount}"/ > | | </t:dataList> | | | |
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4064459#4064459
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4064459 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |