Author |
Message |
21/04/2011 07:49:57
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
Hi,
I realized a combofield with auto-completion like described in the demo workplace!
I have following problem, I want that the user enters a String, the result list opens, then the user should have the possibilty to enter a second string.
In the example in the demo workplace the attribute selectallwhenfocussed is set to true, so when the user enters a second string, the existing string gets clear, because its all marked.
When changing to selectallwhenfocussed to false, the cursor is placed not at the end of the entered string.
To I have a possibility to do that?
regards
Markus
|
Filename |
woodcat_search.png |
Download
|
Description |
|
Filesize |
4 Kbytes
|
Downloaded: |
384 time(s) |
|
|
|
21/04/2011 08:05:24
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
yes - you are right, and this is not 100% nice.
We updated + now the cursor is kept (regardless if SELECTALLWHENFOCUSSED is set to true or to false).
Thanks + regards!
Björn
PS: "Gemeine Birke" ...seems to be an interesting application!
|
Björn Müller, CaptainCasa GmbH |
|
|
21/04/2011 08:07:30
|
mreich
Power User
Joined: 30/01/2009 08:34:23
Messages: 750
Offline
|
thanks for your quick response!
...yes there are a lot of nice names trees could have
|
|
|
30/01/2012 17:02:35
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi,
I have enhanced a combofield with autocompletion a now there is a strange behaviour:
1. Set focus in the field
2. Type a few letters
--> Popup pops up and cursor is not kept, it turns to the beginning
3. Erase letters
4. Type some letters again
--> Popup pops up and now cursor is kept
So only the first time (after setting the focus) the cursor is not kept (undesired), in continuation with further trials the cursor is always kept (good).
I cannot reproduce this behaviour in the demo workplace (option "field value help"). I am using now the very last version of CaptainCasa released today.
Can you give me a hint to trace this problem? I can send separately the relevant source if it helps.
Regards, Daniel
|
|
|
30/01/2012 17:44:56
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5555
Offline
|
Hi,
could you please send the exact usage of the COMBOFIELD? ...just the part of the page with "<t:combofield ... .../>"...
Thanks!
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
31/01/2012 08:50:47
|
levy
Power User
Joined: 12/03/2008 16:38:22
Messages: 308
Location: XpertCenter
Offline
|
Hi Björn
Here is it.
Code:
<t:combofield id="g_50" actionListener="#{d.CaseUI.onMeasureInput}" flush="true" flushtimer="1000" keepfocus="true" maxlength="100" selectallwhenfocussed="true" text="#{d.CaseUI.claim.measures}" userhint="Maximal 100 Zeichen" width="50%" />
Regards, Daniel
|
|
|
|