September 4, 2007
No Comments
É bem simples: faça o loop e use o atributo ‘count’ para dar um ID para seu INPUT , colocando o mesmo ID no FOR.
<logic:iterate id=”item” property=”items” indexId=”count”>
<label for=”xx<bean:write name=’count’/>”>
<html:multibox property=”item” styleId=”<%=”xx”+count%>”>
<bean:write name=”item” property=”value”/>
</html:multibox>
<bean:write name=”item” property=”label”/>
</label>
</logic:iterate>
Achei nos comentários aqui: http://www.beernut.ca/jim/archives/002408.html
July 15, 2005
3 Comments
na lista WSG:
If you’re making websites using (X)HTML/CSS/JS and following web
standards then you aren’t targetting a specific OS/platform/user-agent
- and that’s what web standards are all about. You build things
according to standards so that you aren’t tied to
OS/platform/user-agent X, thus (hopefully) making your site accessible
as possible.