• xe:djComboBox

    By Andrew J Reeve 1 decade ago

    I want to use an xe:djComboBox rather than the standard xp:comboBox however I cannot find a way to populate the selectitems with both itemlabels and itemvalues.

    Example - The bean method getOptions returns a vector of strings. Each string is piped to separate the item value and item label. This works as expected in the xp:comboBox but not in the xe:djComboBox.


      
         


      
      

     

    If I use a single selectItem with itemValue and itemLabel properties the problem still occurs.

    The dojo documentation (version 1.8) http://dojotoolkit.org/reference-guide/1.8/dijit/form/Select.html shows examples which take both labels and values so it should be possible without having to create a native dojo control

    Andrew Reeve