The reason it hasn't been done is it's not as simple as it seems at first.
Mapping the URL to the ActionBean would be easy enough. The problem would
be building a link to an ActionBean with the stripes:link tag. That tag
knows how to read the @UrlBinding and produce a clean URL with the
parameters from stripes:param tags. If there are multiple @UrlBindings
associated with an ActionBean, it wouldn't know which one to use to build
the URL.
On Wed, Jul 24, 2013 at 12:35 PM, Joaquin Valdez
<joaquinfval...@gmail.com>wrote:
> This would be great!
>
> Joaquin
>
> On Jul 24, 2013, at 9:19 AM, Ben Gunter <bgun...@cpons.com> wrote:
>
> It would seem you are not alone.
>
> http://stripesframework.org/jira/browse/STS-895
>
>
> On Wed, Jul 24, 2013 at 11:18 AM, Adam Stokar <ajsto...@gmail.com> wrote:
>
>> That's not a very scalable solution. I have over 60 ActionBean classes
>> that would each need a subclass. I think this is a reasonable request to
>> add to the library.
>>
>>
>> On Wed, Jul 24, 2013 at 10:54 AM, Ben Gunter <bgun...@cpons.com> wrote:
>>
>>> A workaround is to subclass the ActionBean in question and put a
>>> different @UrlBinding on the subclass.
>>>
>>> -Ben
>>>
>>>
>>> On Wed, Jul 24, 2013 at 9:59 AM, Adam Stokar <ajsto...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> It doesn't seem like it's possible to assign two URL's to the same
>>>> action bean. Does anyone have an easy workaround for this? I'm trying to
>>>> do something like:
>>>>
>>>> @UrlBinding({"/locations","/Locations"})
>>>>
>>>> Thanks,
>>>>
>>>> Adam
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> See everything from the browser to the database with AppDynamics
>>>> Get end-to-end visibility with application monitoring from AppDynamics
>>>> Isolate bottlenecks and diagnose root cause in seconds.
>>>> Start your free trial of AppDynamics Pro today!
>>>>
>>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>>> _______________________________________________
>>>> Stripes-users mailing list
>>>> Stripes-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>>
>>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> See everything from the browser to the database with AppDynamics
>>> Get end-to-end visibility with application monitoring from AppDynamics
>>> Isolate bottlenecks and diagnose root cause in seconds.
>>> Start your free trial of AppDynamics Pro today!
>>>
>>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>>> _______________________________________________
>>> Stripes-users mailing list
>>> Stripes-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> See everything from the browser to the database with AppDynamics
>> Get end-to-end visibility with application monitoring from AppDynamics
>> Isolate bottlenecks and diagnose root cause in seconds.
>> Start your free trial of AppDynamics Pro today!
>>
>> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Stripes-users mailing list
>> Stripes-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
>
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
>
> ------------------------------------------------------------------------------
> See everything from the browser to the database with AppDynamics
> Get end-to-end visibility with application monitoring from AppDynamics
> Isolate bottlenecks and diagnose root cause in seconds.
> Start your free trial of AppDynamics Pro today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users