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

Ben Gunter resolved STS-547.
----------------------------

    Resolution: Fixed
      Assignee: Ben Gunter

Since the UrlBuilder and getUrl(Locale) are implemented in OnwardResolution, it 
was easiest to add [gs]etAnchor in the superclass. What I did is make them 
protected so that subclasses can override them and make them public if anchors 
make sense for that subclass. RedirectResolution does just that.

> Add setAnchor() to OnwardResolution
> -----------------------------------
>
>                 Key: STS-547
>                 URL: http://www.stripesframework.org/jira/browse/STS-547
>             Project: Stripes
>          Issue Type: Improvement
>    Affects Versions: Release 1.5
>            Reporter: Sebastian Beigel
>            Assignee: Ben Gunter
>             Fix For: Release 1.5
>
>         Attachments: anchor.patch
>
>
> UrlBuilder supports URL anchors but there is no possibility to set an anchor 
> to a Resolution. I've added a setAnchor() method to OnwardResolution and the 
> supplied anchor is passed to the UrlBuilder in 
> OnwardResolution#getUrl(Locale).
> I will attach a patch against 1.5b1 (as trivial as it is :)

-- 
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

        

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to