[
http://www.stripesframework.org/jira/browse/STS-855?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12570#comment-12570
]
Karl Kirch commented on STS-855:
--------------------------------
Okay so I know this is a bit late, but turns out on a fairly major change that
happened between stripes 1.5.3 and 1.5.4 that I didn't catch until now.
What I failed to mention was that I was using the dynamic mapping filter to do
servlet mapping. With 1.5.3 you needed both the stripes filter and the dynamic
filter in your web.xml. As of 1.5.4 you only need the dynamic mapping filter.
By having both, it seems that the request gets routed through both filters
causing the request params (in certain cases) to be mapped twice.
I apparently didn't realize this change had occured during the switchover
between 1.5.3 and 1.5.4.
My solution was to get rid of the mapping for the stripes filter and only use
the mapping for the dynamic mapping filter.
Hopefully if anyone else runs into this issue this will help them.
> Multiple hidden fields created when using stripes hidden field tag
> ------------------------------------------------------------------
>
> Key: STS-855
> URL: http://www.stripesframework.org/jira/browse/STS-855
> Project: Stripes
> Issue Type: Bug
> Components: Tag Library
> Affects Versions: Release 1.5.6
> Environment: Windows XP, Solaris, Linux
> Java 1.6_24
> Reporter: Karl Kirch
> Assignee: Ben Gunter
> Labels: stripes.tld, taglib
>
> When using the stripes hidden tag helper, it will put out multiple copies of
> the hidden tag.
> Examples:
> jsp:
> <stripes:hidden name="url" />
> output
> <input name="url" value="http%3A%2F%2Fgoogle.com" type="hidden" /><input
> name="url" value="http%3A%2F%2Fgoogle.com" type="hidden" />
> jsp:
> <stripes:hidden name="orgId" value="${actionBean.orgView.orgId}" />
> output:
> <input name="orgId" value="1399" type="hidden" /><input name="orgId"
> value="1399" type="hidden" />
> This however is not consistant, not every hidden tag outputs two copies.
> Here's examples where it doesn't output two copies
> jsp:
> <stripes:hidden name="orgView.orgId" />
> output:
> <input name="orgView.orgId" value="1399" type="hidden" />
> jsp:
> <stripes:hidden name="usesSCM" />
> output:
> <input name="usesSCM" value="false" type="hidden" />
> This effects both GET and POST forms.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development