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

Ben Gunter resolved STS-597.
----------------------------

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

Hi, Andrew. I couldn't provide parseUrlBinding(String) because every UrlBinding 
must be associated with an ActionBean class. Instead, I added 
parseUrlBinding(Class, String) so you can pass in your own pattern along with 
the ActionBean class you want to associate it with. Hope this is sufficient for 
your needs.

> Public UrlBindingFactory method to create UrlBinding prototypes
> ---------------------------------------------------------------
>
>                 Key: STS-597
>                 URL: http://www.stripesframework.org/jira/browse/STS-597
>             Project: Stripes
>          Issue Type: Improvement
>          Components: ActionBean Dispatching
>    Affects Versions: Release 1.5.1
>         Environment: All
>            Reporter: Andrew Jaquith
>            Assignee: Ben Gunter
>            Priority: Minor
>             Fix For: Release 1.5.1, Release 1.6
>
>
> I'd like to propose creation of a public method in UrlBindingFactory that 
> would allow creation of URLBinding prototypes. The method would be similar to 
> parseUrlBinding(Class<? extends ActionBean>), but would take a String 
> parameter instead.
> Example: 
> UrlBinding prototype = UrlBindingFactory.parseUrlBinding(String);
> Callers could use this prototype could then be used for any purpose, for 
> example added to the URLBindingFactory in a custom ActionResolver. The use 
> case for this particular request, FYI, is a file-based ActionResolver 
> implementation that would read URLBindings from a file. This would permit 
> URLBindings to be configurable rather than welded to classes as annotations.

-- 
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 Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-development

Reply via email to