• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

optgroupt inside a logic:iterate

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
What kind of corn soldier are you? And don't say "kernel" - that's only for this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic