For event names, the $ goes inside the {}, not outside. So ...

@UrlBinding("/share/{id}/{titleUrlified}/{$event}")

I'm sure I will forever regret making that bit of syntax so similar to EL.

-Ben

On Thu, Oct 28, 2010 at 2:50 PM, Nikolaos Giannopoulos <
nikol...@brightminds.org> wrote:

> Hi,
>
> We have the following:
> @UrlBinding("/share/{id}/{titleUrlified}/${event}")
>
> Where "id" is a Long and "titleUrlified" is a String
>
> When we test the following url:
> /share/0/anything/edit
>
> We get the following binding:
> id=0
> titleUrlified=anything/edit
>
> and the @DefaultHandler view() method gets invoked vs. the edit() method
>
> Why is titleUrlified NOT set to "anything"?  Why is the binding so
> aggressive?
> Hopefully I am doing something silly.  Anyone????
>
> --Nikolaos
>
> P.S.  I haven't tested 1.5.3 (yet)... as it is quite a pain to switch
> between the 2... (at the moment)
>
>
>
> ------------------------------------------------------------------------------
> Nokia and AT&T present the 2010 Calling All Innovators-North America
> contest
> Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in
> marketing
> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
> http://p.sf.net/sfu/nokia-dev2dev
> _______________________________________________
> Stripes-users mailing list
> Stripes-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/stripes-users
>
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Stripes-users mailing list
Stripes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to