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> but it doesn't work for <s:radio>.

2008/9/3, Jonny Cavell <[EMAIL PROTECTED]>:
>
> What I need to do is very simple, but I'm beginning to wonder whether Struts2
> actually lets me do it.
>
> 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" id = "#{itStatus}" list="#{'0':'', '1':'',
> '2':'', '3':'', '4':'', '5':''}">
>        </s:radio>
> <s:iterator>
>
> Neither of these work.
> If I can't do this (or use a simple workaround), I cannot use Struts 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to