Skip to main content

dojo combobox

2 replies [Last post]
nnxcoder
Offline
Joined: 2008-02-02

How can I use multiple combo boxes on the same JSP?

When I select from combo box A, appropriate values need to be filled up in combo box B. I have used jmaki.doAJAX to retrieve my JSON array, but when I am populating the result both the boxes are being refreshed. When I add id to the widget I get Error as it is a deprecated usage.

Any help would be appreciated to get this working.

Thanks,

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
nnxcoder
Offline
Joined: 2008-02-02

Thanks, that worked.

gmurray71
Offline
Joined: 2003-07-31

Hi,

Try giving them different subscribe attributes. Both default to /dojo/combobox

Example :

You will need to have your actions target them and if you are listening to the box events make sure to set the publish attribute the same way.

-greg