[ 
http://www.stripesframework.org/jira/browse/STS-523?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ben Gunter resolved STS-523.
----------------------------

       Resolution: Fixed
    Fix Version/s: Release 1.6
                   Release 1.5.2

Fixed. The prependContext field is now Boolean. If it is set true then the 
context will always be prepended; if it is false then it will never be 
prepended. If it is null and the context is not the root context, then it will 
be prepended if the URL does not already start with the context path or if the 
beanclass attribute is not null (because the ActionBean URL binding is always 
context-relative).

> 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
>             Fix For: Release 1.5.2, Release 1.6
>
>
> 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

Reply via email to