[ http://issues.apache.org/struts/browse/WW-1266?page=comments#action_37172 ]
tm_jee commented on WW-1266: ---------------------------- fixed. Nils kindly review when you find the time. :-) changes are at :- Sending action/src/main/java/org/apache/struts/action2/components/URL.java Sending action/src/test/java/org/apache/struts/action2/views/jsp/URLTagTest.java > URL tag - includeParams default is "none", but docs states "get" is the > default > ------------------------------------------------------------------------------- > > Key: WW-1266 > URL: http://issues.apache.org/struts/browse/WW-1266 > Project: Struts Action 2 > Type: Bug > Components: Views > Versions: WW 2.2.2 > Environment: tested on Apache Tomcat 5.5.15, JDK 6 (build 76) > Reporter: Claudio Miranda > Assignee: tm_jee > Priority: Minor > Fix For: 2.0 > Attachments: ww-222-url-bug.tar.gz > > At http://wiki.opensymphony.com/display/WW/url, is stated includeParams > attribute is "get" by default, indeed it was on 2.2.1. > On 2.2.2 the ww url tag stop to work properly, tracking down the issue I > found out includeParams attribute needed to be "get" or "all" to work > See attached the test case. > 1) unzip it and copy the directory "ww-222-url-bug" to > $CATALINA_HOME/webapps, restart tomcat > 2) open the browser and points to > http://localhost:8080/ww-222-url-bug/encodingTestNew.action > 3) submit anything > 4) click at the link "Correct some fields" > 5) the previous form is not filled > The scope interceptor is used. > To make it work > Edit encoding_test_2.ftl and add the attribute includeParams="get", make the > test again. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/struts/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]