[
http://www.stripesframework.org/jira/browse/STS-523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11666#action_11666
]
Ben Gunter commented on STS-523:
--------------------------------
It is similar but not quite the same. Both problems stem from having a
context-relative path that starts with the context path -- e.g., /foo/foo/bar.
But STS-611 was specific to RedirectResolution, and this one is specific to
LinkTag.
Now that I've compared the two, however, I realize I can resolve them both the
same way. If the prependContext= attribute of stripes:url or stripes:tag is not
set then it will try to figure out if the context should be prepended or not.
If it is set then it will do whatever it is directed to do. That's how STS-611
was fixed.
My guess is the separate issue reported in the first comment here is resolved
in 1.5.1.
> stripes:link doesn't resolved URL properly when used with DynamicMappingFilter
> ------------------------------------------------------------------------------
>
> Key: STS-523
> URL: http://www.stripesframework.org/jira/browse/STS-523
> Project: Stripes
> Issue Type: Bug
> Components: Tag Library
> Affects Versions: Release 1.5
> Environment: linux, tomcat 6, using lates stripes code from trunk
> (clean checkout)
> Reporter: m.j.milicevic
> Assignee: Ben Gunter
>
> Steps to reporduce (note I am using DynamicFilterMapping):
> 1) create an action bean e.g.:
> @UrlBinding("/foo/{$event}/{entryName}")
> com.somewhere.FooAction
> 2)create a page with link:
> <s:link beanclass="com.somewhere.FooAction" event="view">
> <s:param name="entryName">${entry.name}</s:param>
> ${entry.name}
> </s:link>
> 3) Deploy webapp into webapps/foo/
> 4) link resolves to /foo/view/someName
> expected is:
> /foo/foo/view/someName
> Now change step 3 and deploy app into webapps/bar/
> link now resolves to (as expected):
> /bar/foo/view/someName
> (or skip deployment change within 3 and only change url mapping to
> "/bar/{$event}/{entryName}, than link becomes: /foo/bar/view/someName)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://www.stripesframework.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development