Oh looks like I read it backwards I thought the iterator variable is
what you were after. Here is a link that might be useful. The very
bottom of the page specifically.
http://cwiki.apache.org/WW/ognl-basics.html
It looks like the [1].top is the recommended method (at least it was for
webw
Thanks Adam,
I hadn't tried getting the property without the pound sign. That
syntax does work to get the value of the current item in the
iteration. However, getting the current item in the iteration isn't a
problem. My problem is that I need to access the method on the action
when in an
Thanks Dave,
I was hoping that I wouldn't have to resort to specification of an
index in the array of the ValueStack, but it works for now '-]
Thanks for the tip,
Eric Rank
On Mar 26, 2007, at 7:05 PM, Dave Newton wrote:
--- Eric Rank <[EMAIL PROTECTED]> wrote:
Unfortunately, that doesn
I just realized I got the syntax wrong. It should be value="top.user.username" /> without the pound sign, of course I'm sure
you tried that as well.
Eric Rank wrote:
Thanks Adam,
Unfortunately, that doesn't work. Are there other implicit objects in
the OGNL value stack that might give a more
--- Eric Rank <[EMAIL PROTECTED]> wrote:
> Unfortunately, that doesn't work. Are there other
> implicit objects in the OGNL value stack that might
> give a more direect reference to the action?
This isn't that, but there is the direct stack
reference method, like [0].username, [1].username,
etc.
Thanks Adam,
Unfortunately, that doesn't work. Are there other implicit objects in
the OGNL value stack that might give a more direect reference to the
action?
Eric.
On Mar 26, 2007, at 5:10 PM, Adam Ruggles wrote:
have you tried
Eric Rank wrote:
Hi Everyone,
I'm having an interestin
have you tried
Eric Rank wrote:
Hi Everyone,
I'm having an interesting experience with the use of the iterator tag
(Struts 2.0.6).
I have an action with getter method signature which is the same as the
getter of an iterator item.
As such when I'm within an iterator loop, and I call the g
Hi Everyone,
I'm having an interesting experience with the use of the iterator tag
(Struts 2.0.6).
I have an action with getter method signature which is the same as
the getter of an iterator item.
As such when I'm within an iterator loop, and I call the getter of
the Action value, I ac
8 matches
Mail list logo