• 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

dojo combobox problem

 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, i am using dojoType="Combobox" as follows and it works fine . it sends
request to a servlet and key-value pair returns as it requires n working fine aslo .... however when i select any value from combo box , page is submitted
and returns to the same page .......but the it DOES NOT shows the selected
value in combo box....any idea how to do it ....code is as follows ....

<select name="customer" id="customer" dojoType="struts:ComboBox"
setSelectedValue="dojo.byId('customer.id').value=arguments[0]"
dataUrl="customer.dojo" style="width:137;height:20"
onValueChanged="javascript:callSomeServerMethod()" ></select>
 
When I was younger I felt like a man trapped inside a woman’s body. Then I was born. My twin is a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic