2010/6/13 Oleg Mikheev <mi...@bigfoot.com>: > Guys, > > It took me some quite some time to understand how to pass a > dynamic value to a textfield label. > It appeared that I needed to use this strange notation: %{#var} > like this: > > <c:set var="ro" value="qwe" scope="request"/> > <s:textfield name="username" label="%{#request.ro}" /> > > I haven't found any description that would list which > Struts2 tag attributes accept dynamic values and which > require 'force evaluation'. > The only resource that mentioned it was Dave Newton's letter > http://old.nabble.com/Re%3A-S2-tags---dynamic-attributes-p19292043.html > > I really think that this notation must be documented > specifically on this page: > http://struts.apache.org/2.1.8.1/docs/ognl.html
Thanks, I already added your comments (just before Collections section) https://cwiki.apache.org/confluence/display/WW/OGNL for future please create a ticket https://issues.apache.org/jira/browse/WW Kind regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org