Re: S2 tags - dynamic attributes

2008-09-04 Thread stanlick
More like... Ah... hrm. Tell 'em look at the TLD, then tell 'em to check the freemarker template, then tell 'em they might have to escape the attribute. I love Java. On Wed, Sep 3, 2008 at 8:05 PM, Dave Newton [EMAIL PROTECTED] wrote: --- On Wed, 9/3/08, Wes Wannemacher wrote: If the TLD

S2 tags - dynamic attributes

2008-09-03 Thread Jonny Cavell
in context: http://www.nabble.com/S2-tags---dynamic-attributes-tp19291646p19291646.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: S2 tags - dynamic attributes

2008-09-03 Thread Dave Newton
--- On Wed, 9/3/08, Jonny Cavell wrote: Firstly, I want the id attribute of any HTML tag to take a dynamic value, so that I can code it at runtime. Secondly I want the tag to take e.g. dojoType as an attribute: s:iterator value=#xxx status=itStatus var = yyy s:radio dojoType=zzz

Re: S2 tags - dynamic attributes

2008-09-03 Thread Gabriel Belingueres
://www.nabble.com/S2-tags---dynamic-attributes-tp19291646p19291646.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED

RE: S2 tags - dynamic attributes

2008-09-03 Thread Martin Gainty
:49:12 -0300 From: [EMAIL PROTECTED] To: user@struts.apache.org Subject: Re: S2 tags - dynamic attributes 1) It can't see why not. BTW, id=#{...} doesn't work because the expresions start with %, like in id='%{itStatus}' 2) Extrange enough, I tested this with S2.1.2: It works with s:select

RE: S2 tags - dynamic attributes

2008-09-03 Thread Wes Wannemacher
tags. Is it possible? Jonny -- View this message in context: http://www.nabble.com/S2-tags---dynamic-attributes-tp19291646p19291646.html Sent from the Struts - User mailing list archive at Nabble.com

RE: S2 tags - dynamic attributes

2008-09-03 Thread Dave Newton
--- On Wed, 9/3/08, Wes Wannemacher wrote: Also, as far as dynamic attributes is concerned, some tags accept them, some don't. Oh, my bad--is that a TLD thing or an S2 thing? Dave - To unsubscribe, e-mail: [EMAIL PROTECTED]

RE: S2 tags - dynamic attributes

2008-09-03 Thread Dave Newton
--- On Wed, 9/3/08, Wes Wannemacher wrote: If the TLD file declares dynamic-attributestrue/dynamic-attributes for a tag, the tag's class must implement the DynamicAttributes interface as well. Ah... hrm. Tell 'em, then tell 'em again. I love Java. Thanks, Dave

Re: S2 tags - dynamic attributes

2008-09-03 Thread Gabriel Belingueres
...and adding this line to the radiomap.ftl file: #include /${parameters.templateDir}/simple/dynamic-attributes.ftl / should suffice I think. However, I would like to know what kind of visual effect or functionality the dojo library adds to the radio button (I can't find the dojo 0.4.3

Re: S2 tags - dynamic attributes

2008-09-03 Thread Wes Wannemacher
On Wed, 2008-09-03 at 22:52 -0300, Gabriel Belingueres wrote: ...and adding this line to the radiomap.ftl file: #include /${parameters.templateDir}/simple/dynamic-attributes.ftl / should suffice I think. However, I would like to know what kind of visual effect or functionality the dojo