FormTag: SourcePageValue is wrong if the current request is an include
----------------------------------------------------------------------

                 Key: STS-826
                 URL: http://www.stripesframework.org/jira/browse/STS-826
             Project: Stripes
          Issue Type: Bug
          Components: Tag Library
    Affects Versions: Release 1.5.6
         Environment: Weblogic 10.3
            Reporter: stripesuser


If the current request is an include and the form has validation errors, the 
SourcePageValue is wrong.

The method getSourcePageValue should be implemented like this:

protected String getSourcePageValue() {
  HttpServletRequest request = (HttpServletRequest) 
getPageContext().getRequest();
  return CryptoUtil.encrypt(HttpUtil.getRequestedServletPath(request));
}

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to