[weld-issues] [JBoss JIRA] Created: (WELD-451) Allow including the cid in the url to be configurable in <redirect /> in pages.xml

Samuel Mendenhall (JIRA) jira-events at lists.jboss.org
Tue Feb 23 13:48:10 EST 2010


Allow including the cid in the url to be configurable in <redirect /> in pages.xml
----------------------------------------------------------------------------------

                 Key: WELD-451
                 URL: https://jira.jboss.org/jira/browse/WELD-451
             Project: Weld
          Issue Type: Feature Request
          Components: Web Tier integration (JSF, JSP, EL and Servlet) 
    Affects Versions: 1.0.1.CR2
            Reporter: Samuel Mendenhall
            Priority: Minor
             Fix For: 1.0.1.GA


In org.jboss.seam.faces.Navigator.java the includeConversationId variable is currently hardcoded to true.

   protected void redirect(String viewId, Map<String, Object> parameters, boolean includePageParams)
   {
      if ( Strings.isEmpty(viewId) )
      {
         viewId = Pages.getCurrentViewId();
      }
      if ( log.isDebugEnabled() ) log.debug("redirecting to: " + viewId);
      FacesManager.instance().redirect(viewId, parameters, true, includePageParams);
   }

This should be made configurable so that one can redirect and optionally have the cid not included ie.

<redirect view-id="/somePage.xhtml" includeConversationId="false" />

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list