Skip navigation
Currently Being Moderated

Duplicate Data in dropbox

Jul 20, 2012 9:35 PM

Tags: #xml #list #combo

Hello there!

I have a simple xml file with two category element in it. I was able to hook it to the Combobox and to a listbox. What I wanted to do is, onload it displays all the items in listbox. When I choose a catageory in combo the listbox lists all items relaed to the category. At the same time the combo should not list duplicated category in it. Here is a file for you to look at...

 

https://docs.google.com/open?id=0ByHOlDbL5njbZkdlTHhXazRILVk

 

Hope it can be done. Thanks in advance.

Thank you

Kristtee

 
Replies
  • kglad
    63,118 posts
    Jul 21, 2002
    Currently Being Moderated
    Jul 21, 2012 6:51 AM   in reply to Kristtee

    use a combobox change listener to create a dataprovider (populated with data using your xml and selected combobox item) that you assign to your list component.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points