[richfaces-issues] [JBoss JIRA] (RF-12254) kitchensink archetype - accessing wrong facelet is held in session and consequently accessing a correct one causes HTTP Status 500

Juraj Huska (JIRA) jira-events at lists.jboss.org
Tue May 15 08:09:18 EDT 2012


Juraj Huska created RF-12254:
--------------------------------

             Summary: kitchensink archetype - accessing wrong facelet is held in session and consequently accessing a correct one causes HTTP Status 500 
                 Key: RF-12254
                 URL: https://issues.jboss.org/browse/RF-12254
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: archetype, mobile
    Affects Versions: 4.2.2.Final
         Environment: project generated from kitchensink archetype
            Reporter: Juraj Huska
            Priority: Minor


When accessing wrong facelet on mobile device and consequently the right application context, then the HTTP Status 500 is returned with error message, which can be viewed in the attached screenshot.

It is caused because the {{PageBean}} hold the wrong part of the URL in the session,

{code}
public void setLocation(String location) {
        this.location = location;
        this.page = String.format("/mobile/%s.xhtml", location);
}
{code}

Note that I have tried to change the scope of the PageBean to RequestScoped, but then the list with members what not updated with the new created ones.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list