posted 12 years ago
Good Morning ,
i need your help^^"
how can i use <optgroup label="title" inside a logic:iterate??
That's my problem.. i have this
<select name="scelta" class="size" onChange="javascript:setIdArea(this);">
<logic:iterate id="CreaGrigliaAttivitaForm" name="elenco" >
<option value='<bean:write name= "CreaGrigliaAttivitaForm" property="idatt"/>'>
<bean:write name= "CreaGrigliaAttivitaForm" property="idatt"/>-
<bean:write name= "CreaGrigliaAttivitaForm" property="nomeatt"/>-
<bean:write name= "CreaGrigliaAttivitaForm" property="status"/>
</option>
</logic:iterate>
</select>
but if i put the <optgroup label=" <bean:write name= "CreaGrigliaAttivitaForm" property="status"/>"> before the logic:it, i can see the title only at the beginning. If i put the tag after, i can see the title in all the information.
I want to order the informations for status. Any suggestion??
Thanks in advance
F