Re: tag attributes evaluation
On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriate. -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: tag attributes evaluation
On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriate. Not really. Only specified people are allowed to edit the wiki page. I got: You are not permitted to perform this operation. -- Lu Ying - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
Re: tag attributes evaluation
On 6/14/10 4:25 PM, Emi Lu wrote: On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriate. Not really. Only specified people are allowed to edit the wiki page. I got: You are not permitted to perform this operation. Whoops. This is correct, you need to have filed a CLA to get edit rights...but you should be able to add a comment with the suggested changes which hopefully will get folded in before the next release: https://cwiki.apache.org/confluence/display/WW/OGNL?showComments=trueshowCommentArea=true#addcomment (note, cwiki.apache.org hosts the source wiki that's used to generate the version-specific one hosted at struts.apache.org ). -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org
RE: tag attributes evaluation
admittedly the doc isnt perfect but i should point out.. the available docs are ALOT more comprehensive and ALOT easier to navigate than many apache sites.. that said since you have all the build scripts you *have* the ability to create your own javadocs and post them..just remember to put relevant disclaimers / copyrights on bottom when your site has higher traffic than official struts-site (and your doc is more accurate) then the people who *are supposed to* commit the errata will update the official docs to keep the IP attorneys happy ..it is a professional courtesy (and a very good idea) to retain the authors name on any posted material.. Martin Gainty __ Standard Caveats Apply Date: Mon, 14 Jun 2010 16:39:34 -0400 From: d...@newfield.org To: user@struts.apache.org CC: em...@encs.concordia.ca Subject: Re: tag attributes evaluation On 6/14/10 4:25 PM, Emi Lu wrote: On 06/14/2010 09:59 AM, Dale Newfield wrote: On 6/13/10 2:02 PM, Oleg Mikheev wrote: I really think that this notation must be documented specifically on this page: http://struts.apache.org/2.1.8.1/docs/ognl.html It's a wiki. Please feel free to offer the modifications you think are appropriate. Not really. Only specified people are allowed to edit the wiki page. I got: You are not permitted to perform this operation. Whoops. This is correct, you need to have filed a CLA to get edit rights...but you should be able to add a comment with the suggested changes which hopefully will get folded in before the next release: https://cwiki.apache.org/confluence/display/WW/OGNL?showComments=trueshowCommentArea=true#addcomment (note, cwiki.apache.org hosts the source wiki that's used to generate the version-specific one hosted at struts.apache.org ). -Dale - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org _ The New Busy is not the old busy. Search, chat and e-mail from your inbox. http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3
Re: tag attributes evaluation
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
tag attributes evaluation
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 Oleg - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org