Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

optgroupt inside a logic:iterate  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!