myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Starets (Created) (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Created] (TRINIDAD-2249) Enable PageFlowScopePriver to apply specific encoding to the dialog URLs
Date Fri, 23 Mar 2012 14:13:29 GMT
Enable PageFlowScopePriver to apply specific encoding to the dialog URLs
------------------------------------------------------------------------

                 Key: TRINIDAD-2249
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2249
             Project: MyFaces Trinidad
          Issue Type: Improvement
          Components: Archetype
    Affects Versions: 2.0.2-core
            Reporter: Max Starets
            Assignee: Max Starets


PageFlowScopeProvider currently only exposes encodeCurrentPageFlowScopeURL(), which gets called
from ViewHandlerImpl.getActionURL(). It would be highly desirable to provide a way for the
PageFlowScopeProvider implementors to perform encoding specific to the dialog URLs:

  /**
   * Encode the page flow scope into the dialog URL
   * 
   * Note that the Dialog Framework may first call ViewHandler.getActionURL(), which in turn
will 
   * call encodeCurrentPageFlowScopeURL(). Then this method will be given a chance to encode
any dialog-specific 
   * information. The dafault implementation does not modify the URL. 
   * 
   * @param context the current FacesContext
   * @param url an URL (which may already contain query parameters)
   * @return encoded URL
   */
  public String encodeDialogPageFlowScopeURL(
     FacesContext context,
     String url)
  {
    return url;
  }

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

        

Mime
View raw message