In ${expression}, "expression" will be evaluated against the Value Stack. An Dave is right, the "variable publishing" name is probably not the best description for it :)
musachy On 4/17/07, Musachy Barroso <[EMAIL PROTECTED]> wrote:
The do publish a variable, if they have to, as Dave mentioned, in the case of the iterator, even if you don't specify and id, the current value will be on top of the stack which you access using %{#top}. Other tags publish values, like the url tag, etc. musachy On 4/17/07, Dave Newton <[EMAIL PROTECTED]> wrote: > > --- Ray Clough <[EMAIL PROTECTED]> wrote: > > The "why" is because I just really don't like the > > Struts-2 tags. I especially don't like the fact > that > > they don't expose a variable on the page - for > > example the s:iterator tag does not explicitly > expose > > a variable which I can work with, or format using > > jstl. > > ...but I'm telling you they do, or at least > <s:iterator.../> does. > > <s:iterator value="dates" id="d"> > <fmt:formatDate value="${d}" pattern="MM/dd/yyyy"/> > <br/> > </s:iterator> > > d. > > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd
-- "Hey you! Would you help me to carry the stone?" Pink Floyd