• 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

dhtmlxcombo box - to get all options

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

I have a combo = dhtmlXComboFromSelect("managerOwner");

The code is jsp is as follows for this combobox:

<div class="control-group" id="managerOwnerDiv">
<label class="control-label" for="managerOwner">Owner*</label>
<div class="controls">
<form:select path="managerOwner" id="managerOwner" class="managerOwner">
<form:option type="hidden" value="" />
<form:options items="${managerOwner}" />
</form:select>
<p class="help-inline"></p>
</div>
</div>

${managerOwner} is coming from the backend code as a List<String>.

I want to make sure that the entry in the combobox is one present in the managerOwner list.
Please guide me on how i could achieve this.

Any help is appreciated.

Thanks
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Posting server-side markup in this forum is not helpful. What framework are you using. I'll move this post to that appropriate forum.

Also, UseCodeTags and disable smilies when posting code.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic