Hi Marco, If you change the model on the client side, you will have to worry about keeping the server side model in synch with it. Otherwise getSelectedItem() and getSelectedIndex() won't work on the combobox.
For the functionality that you desire there is a community contribution: http://ulc-community.canoo.com/snipsnap/space/Contributions/Extensions/Looku p+TextField. I hope this helps. Thanks and regards, Janak >-----Original Message----- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] Behalf Of >[EMAIL PROTECTED] >Sent: Monday, October 16, 2006 12:14 PM >To: [EMAIL PROTECTED] Com >Subject: Antwort: RE: [ULC-developer] combobox client-side, >MutableComboBoxModel > > >Hi Janak, >i want to extend the functionality of "searchable combobox" from >ulc-codecommunity. >If I set a parameter I want to use a "dynamic" searchable >combobox. this means >that if I start writing in the textfield I only want to see the >matching values. >In the code-community example only the matching value is selected >but you >still see all values. For a bigger list it could be unfavorable. >Of couse I want to use it client-side because I don't want to >fire each time a keyTyped event >and therefore a server-roundtrip. >Thx >marco > > > > > > > "Janak > Mulani" > <janak.mulani An > @canoo.com> <[EMAIL PROTECTED]> > Gesendet von: Kopie > ulc-developer <[EMAIL PROTECTED] > [EMAIL PROTECTED] om> > canoo.com Thema > RE: [ULC-developer] combobox > client-side, > 12.10.2006 MutableComboBoxModel > 21:30 > > > Bitte > antworten an > "Ulc-Develope > [EMAIL PROTECTED] Com" > <ulc-develope > [EMAIL PROTECTED]> > > > > > > >Hi Marco, > >ULC does not use MutableComboBoxModel for the client side of >ULCComboBox, >therefore you cannot add/delete items to the client side >combobox. > >Can you please tell me: > >1. why do you want to manipulate items on the client side and not >on the >server side? > >2. what is the usage scenario in your application that triggers >the >manipulation of items on the client side? > >Thanks and regards, > >Janak > > >>-----Original Message----- >>From: [EMAIL PROTECTED] >>[mailto:[EMAIL PROTECTED] Behalf Of >>[EMAIL PROTECTED] >>Sent: Wednesday, October 11, 2006 5:52 PM >>To: [email protected] >>Subject: [ULC-developer] combobox client-side, >MutableComboBoxModel >> >> >> >>Hi all , >>is it possible to manipulate the items in a combobox >client-side? >>e.g. >>this.getBasicComboBox().addItem(""); >>this.getBasicComboBox().removeAllItems(); >> >>the problem is that I have no access to the MutableComboBoxModel >>client-side. >> >>greetings >>marco >> >> >>_______________________________________________ >>ULC-developer mailing list >>[email protected] >>http://lists.canoo.com/mailman/listinfo/ulc-developer > >_______________________________________________ >ULC-developer mailing list >[email protected] >http://lists.canoo.com/mailman/listinfo/ulc-developer > > > > >_______________________________________________ >ULC-developer mailing list >[email protected] >http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
