Nathan,
No. The +1 wasn't for adding {_eventName}... it was for using
{_eventName} instead of {$event} which already works as a param but also
works in URL binding.
That is to say the following are synonymous:
@UrlBinding("/share/{id}/{titleUrlified}/{_eventName}")
and
@UrlBinding("/share/{id}/{titleUrlified}/{$event}")
... and I agree w/ Samuel and have chosen the former just as it makes
things all the more clearer (and is less prone to the EL typo)
--Nikolaos
Nathan Maves wrote:
I don't see an issue adding this new magic name but we would need to
keep the old one as well to maintain backwards compatibility.
Nate
On Thu, Oct 28, 2010 at 6:59 PM, Samuel Santos <[email protected]
<mailto:[email protected]>> wrote:
+1 for {_eventName}
--
Samuel Santos
http://www.samaxes.com/
On Fri, Oct 29, 2010 at 1:14 AM, Joaquin Valdez
<[email protected] <mailto:[email protected]>> wrote:
I have always been partial to the ~
Joaquin
On Oct 28, 2010, at 5:11 PM, Freddy Daoud wrote:
>> You are both correct. Indeed perhaps something like
{#event} would
>> have been better. Hindsight is always 20-20.
>
> I realize I'm probably the only one who would like this, but
I would
> have used {_eventName} because that special request parameter is
> already being used for the event name. So, one less
"magical" thing
> to learn.
>
> Freddy
>
>
------------------------------------------------------------------------------
> 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
> [email protected]
<mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/stripes-users
Joaquin Valdez
[email protected] <mailto:[email protected]>
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users