  | 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
|
|
|
  | | | - Does redirect.captureCurrentView save page parameter | - Does redirect.captureCurrentView save page parameter 2007-08-09 - By milli
Back Hi,
I have a page called profile.xhtml and it is loaded with two page parameters like http://localhost/profile.seam?pid=5&catid=3&cid=1.
And in the backing bean I have
| | @(protected)("profilePage") | @(protected)(ScopeType.EVENT) | class ProfilePage{ | @(protected) | private String pid; | @(protected) | private String catid; | ..... | ....... | | @(protected)("#{identity.loggedIn}") | public String connect() { | .... | } |
In profile.xhtml I have a button with action as #{profilePage.connect}. When the user clicks this button without logged in, he is redirected to the login page. But after logging in, it redirects to http://localhost/profile.seam?cid=2 and does not restore the page parameters.
I'm not using conversations. My question is am I doing something wrong or captureCurrentView does not save page parameters?
I appreciate any help on this.
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic &p=4072337#4072337
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode =reply&p=4072337 __ ____ ____ ____ ____ ____ ____ ____ ____ ____ jboss-user mailing list jboss-user@(protected) https://lists.jboss.org/mailman/listinfo/jboss-user
|
|
 |