Re: dynamic combo box

Gerald Bauer <[email protected]> Tue, 2 Dec 2003 07:47:10 -0800 (PST)
Newsgroups gmane.comp.java.luxor-xul.user
Message-ID <[email protected]>
Salut Valerie,

> I have a combox in my xul form with a map.
> I want to dynamicaly remove some objects in this
> combo.
> If I do a getJcomponent and get the JCombo item I
> can remove some items in
> the list, but I need to know the value of the map
> key-value.
> My problem is that I know only the key !
> How can I remove an item with his key ?

  You might wonna lookup up the map using XulManager
and than lookup the matching value for the key.

  - Gerald

PS: You're also welcome to workout a more "generic"
solution and fix up Luxor (that is, add the missing pieces).


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/