[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Combobox with loadOnDemand and editable  XML
Forum Index -> Development
Author Message
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

We have a Combobox with loadOnDemand=true and editable=true.

This works well for the initial fetching of the list.
But we need a way to reset the state "loaded", so that the list can be changed and will be retrieved again the next time it is opened. It seems that this is not possible.

Our usecase:
+ experienced users will just type their keys, and continue. No need to retrieve a list, therefore the combobox must be editable.
+ casual users klick on the open button, find a more or less large list and select their entry.
+ other users know at least part of the key, type it, then open the list, and in this case we filter the list to contain only items matching what the user typed.
Now in this case, when the user types a different letter and then opens the combobox again, it is essential that it retrieves its list again from the server.
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...yes, the editable Swing Java combobox is a bit "hard to program with", but I believe we can do this. Not ultra-short-term ("this week"), but quite short term - after 2.5 is out... (we try to publish tomorrow...)

Björn

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...just one thing I ask you to check:

We have the COMBOFIELD, and there is also an example on how to use for flexible value proposal. Could you please check if you anyway prefer the COMBOFIELD?

COMBOFIELD offers...
(.) popup that opens can be designed in any way
(.) flush with timer
(.) ctrl-space invoke

Thanks!

Björn

Björn Müller, CaptainCasa GmbH
moebus

Power User

Joined: 21/11/2007 12:49:18
Messages: 93
Offline

You are right - combofield does the job, so we don't need the stuff with Combobox.
Thank you
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...thank you...!!
(The Swing editable-Combobox is a bit complex from our's perspective, so we are glad to a certain extent to bypass...)

Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team