struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonny Cavell <>
Subject S2 tags - dynamic attributes
Date Wed, 03 Sep 2008 15:25:15 GMT

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':''}">

Neither of these work.
If I can't do this (or use a simple workaround), I cannot use Struts tags.
Is it possible?

View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message