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

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Hi Björn,

there are some things, I`ve noticed in behaviour of comboboxes:

- If you click in it whith the mouse, the whole text is marked, even if I try to mark just a part of it. Only if you do something with the keyboard you can edit the text (of course in this case it`s a editable combobox) This is very irritating, if you just want to delete a part of the text which is selected in the combo, but you delete the whole text.

- If you open the combobox, there is always selected the last entry in the list. I would expect that the same entry is selected which is in the field. Or no entry if there is no correspondant entry in the list

- The dropdown list should be scrollable, if there are long textes in the list, they cannot be read


Thank you
Antje

PS: When can I change my settings for the editor backgound? Otherwise I can blame you for my next migraine ;-)
CaptainCasa

Power User
[Avatar]

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

...we just check...

Björn Müller, CaptainCasa GmbH
CaptainCasa

Power User
[Avatar]

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

Hi,
hmmm... we checked with our Demo Workplace and examples: not yet reproduce-able...
Maybe: please check that the valid values binding is not constantly updated with the same values, but only receives new values if required.
Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

OK, I`ve found another editable combobox in our code, which does not mark the text again and again. So this seems to be my mistake
But the whole text there is not readable, too

And I still get headache from working with your DARK editor

Thank you for your help!
Antje
[Thumb - ComboLangeTexte.png]
 Filename ComboLangeTexte.png [Disk] Download
 Description
 Filesize 60 Kbytes
 Downloaded:  548 time(s)

CaptainCasa

Power User
[Avatar]

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

Forgot to add: use attribute combopopupwidth to increase the width (the default width is the one given by the component). Unfortunately the combo box does not provide a horizontal scrolling...
Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

Ahhhh,

I`ve found the problem! The combobox is embedded in a Fixgrid, and the property multiselect was true. If I switch to false, everything works fine. No permanent marking anymore. Puh, I´m innocent!
Only the hopping to the end of the list is still mysterious:
If I select the fixgriditem first and then open the list, everything`s ok
If I click to the little button to open the combobox without selecting the item, the last entry in the list is selected.

Bye
Antje
CaptainCasa

Power User
[Avatar]

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

Could you please check:
http://localhost:50000/demos/workplace.demogridcombo.ccapplet
from the demo workplace. This is exactly the scenario.

. combo in grid
. multiselect
. flush

Do you see the same behaviour on your side?

Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

At the link you posted, everything works fine. But the first time clicking the text is not marked any longer.

Is that the corrected version or can`t you reproduce my error?

Antje
CaptainCasa

Power User
[Avatar]

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

kessler wrote:

Is that the corrected version or can`t you reproduce my error?
 

I am not aware having had access to your system ;-)

The page is part of the demo project, we added it some time ago already. Something is different with your scenario, because on this test page the selection errors are not reproducable, also on your side.

Did you check if combobox valid values are constantly rebuilt?

Björn

Björn Müller, CaptainCasa GmbH
kessler

Power User

Joined: 22/01/2008 15:14:19
Messages: 47
Offline

It`s friday, and I did not really think about it, just clicked ;-)

The getValidValuesBinding-Method is really called every time, I click into the field of the combobox. But this only happend if the multiselect is true, if it`s false, it is called the first time I click into the field but not the next time.

Antje
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team