• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

html:option

 
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I am new to struts.
If i want to change the value in combo box it changes .But i login again in the application there are no changes in the combobox.



<td>
${c.cucl}
<html:select property = "cucl" name = "customerForm" >
<html ptions property="custGroupsMap" name="customerForm" />
<c:set var="cg" items="${sessionScope.custGroupsMap}"/>
option value="${cg.key}" ${(cg.key == c.cucl) ? 'selected' : ''}${cg.value} (${cg.key})</option>
<html ption value="${cg.key}" >${cg.value} (${cg.key})</html ption>
</html:select></td>


Thnaks
 
Are we home yet? Wait, did we forget the tiny ad?
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic