Looking at the regex on the bottom of the page, I'd say: it's no more
allowed (http://goo.gl/oUlb6 click on the green button to test the regex
pattern).
But the regex could not represent the right behaviour, and I also didn't
test it.

Twitter     :http://www.twitter.com/m_cucchiara
G+          :https://plus.google.com/107903711540963855921
Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara

Maurizio Cucchiara


On 18 February 2013 18:36, Dave Newton <davelnew...@gmail.com> wrote:

> A brief look made me think [\d] was still allowed, but I also didn't play
> with it to actually find out.
>
> Dave
>
>
>
> On Mon, Feb 18, 2013 at 12:20 PM, Maurizio Cucchiara
> <mcucchi...@apache.org>wrote:
>
> > There is a good chance that this notation went away after S2-009 (
> > http://goo.gl/NydYr), though I could be wrong .
> >
> > Twitter     :http://www.twitter.com/m_cucchiara
> > G+          :https://plus.google.com/107903711540963855921
> > Linkedin    :http://www.linkedin.com/in/mauriziocucchiara
> > VisualizeMe: http://vizualize.me/maurizio.cucchiara?r=maurizio.cucchiara
> >
> > Maurizio Cucchiara
> >
> >
> > On 18 February 2013 18:14, Dave Newton <davelnew...@gmail.com> wrote:
> >
> > > The [0].foo notation should allow direct access to the nth item on the
> > > stack.
> > >
> > > I'm not aware of it intentionally going away, but I also don't use it
> > > regularly and would need to check.
> > >
> > > Dave
> > >
> > >
> > > On Mon, Feb 18, 2013 at 12:05 PM, Lukasz Lenart <
> lukaszlen...@apache.org
> > > >wrote:
> > >
> > > > 2013/2/18 Chris Mawata <chris.maw...@gmail.com>:
> > > > > Hi all,
> > > > >    I am using Struts 2.3.4.1 and i noticed the notation
> > > > > [n].parameterName to get a parameter of a given name
> > > > > when the first ocurrance is not the one you want is
> > > > > not working. I can't find any documentation that it was
> > > > > removed. Can anyone point me to something? I might
> > > > > not be searching by the technically correct name.
> > > >
> > > > I cannot recall such a notation, you can use #attr.parameterName to
> > > > search throughout the ValueStack
> > > >
> > > > http://struts.apache.org/development/2.x/docs/ognl.html
> > > >
> > > >
> > > > Regards
> > > > --
> > > > Ɓukasz
> > > > + 48 606 323 122 http://www.lenart.org.pl/
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
> > > > For additional commands, e-mail: user-h...@struts.apache.org
> > > >
> > > >
> > >
> > >
> > > --
> > > e: davelnew...@gmail.com
> > > m: 908-380-8699
> > > s: davelnewton_skype
> > > t: @dave_newton <https://twitter.com/dave_newton>
> > > b: Bucky Bits <http://buckybits.blogspot.com/>
> > > g: davelnewton <https://github.com/davelnewton>
> > > so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
> > >
> >
>
>
>
> --
> e: davelnew...@gmail.com
> m: 908-380-8699
> s: davelnewton_skype
> t: @dave_newton <https://twitter.com/dave_newton>
> b: Bucky Bits <http://buckybits.blogspot.com/>
> g: davelnewton <https://github.com/davelnewton>
> so: Dave Newton <http://stackoverflow.com/users/438992/dave-newton>
>

Reply via email to