On donderdag, sep 18, 2003, at 14:23 Europe/Amsterdam, Jason Carreira wrote:
-----Original Message----- From: Matt Ho [mailto:[EMAIL PROTECTED] Sent: Thursday, September 18, 2003 4:20 AM To: [EMAIL PROTECTED] Subject: Re: [OS-web
You should be able to push the value that you're looking for onto the stack like so:
<ww:action name="entries" id="entries"/> <ww:iterator value="#entries.entries" > <ww:property value="name" /> <ww:property /> <ww:push value="..."/>
<ww:action name="edit" id="edit" > <ww:param name="entry" value="[0]" /> </ww:action> </ww:iterator>
the [0] refers to the top of the value stack
Note that we also have a new expression language keyword for the top of the stack: "that"
"that" doesn't work. "[0]" works. Is this documented somewhere, I couldn't find it in the sources. I guess it's Ognl stuff?
I'm thinking of adding the above solution to the Wiki, could you suggest a good place to put it? I must say that I find the tag documentation rather scattered with for or so topics (or what the are called in this Wiki instance).
Hendrik
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork
------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork