+1. I've had to subclass actions before to do this and it feels hacky.
Multiple bindings would be a nice feature.
On Mon, Oct 5, 2009 at 7:42 AM, Nathan Maves <[email protected]> wrote:
> I figured that we could have a "default" option on the bindings. If one
> was not defined as that it would just be the first binding in the group of
> bindings.
> The way I got around my original problem was to extend my original class
> and give it a binding.
>
>
> On Sun, Oct 4, 2009 at 11:26 PM, Levi Hoogenberg <[email protected]
> > wrote:
>
>> There are a couple of Stripes classes that assume a one on one
>> relationship between action beans and URL bindings. One example is the URL
>> binding factory. This is a design choice that's probably hard to change -
>> one implication of allowing multiple URL bindings per action bean is
>> ambiguity when creating an URL for an action bean. How would you handle this
>> case?
>>
>> On Mon, Oct 5, 2009 at 5:18 AM, Nathan Maves <[email protected]>wrote:
>>
>>> Any thoughts on implementing this?
>>> Something like
>>>
>>> @UrlBindings({
>>> @UrlBinding("/one"),
>>> @UrlBinding("/two")
>>> })
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>>> is the only developer event you need to attend this year. Jumpstart your
>>> developing skills, take BlackBerry mobile applications to market and stay
>>> ahead of the curve. Join us from November 9-12, 2009. Register
>>> now!
>>> http://p.sf.net/sfu/devconf
>>> _______________________________________________
>>> Stripes-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>> Come build with us! The BlackBerry® Developer Conference in SF, CA
>> is the only developer event you need to attend this year. Jumpstart your
>> developing skills, take BlackBerry mobile applications to market and stay
>> ahead of the curve. Join us from November 9-12, 2009. Register
>> now!
>> http://p.sf.net/sfu/devconf
>> _______________________________________________
>> Stripes-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/stripes-users
>>
>>
>
>
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry® Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9-12, 2009. Register now!
> http://p.sf.net/sfu/devconf
> _______________________________________________
> Stripes-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
>
--
http://www.bartendr.com
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users