Igor,

I upgraded to rc2 yesterday but this behaviour didn't change.

I tried that but with no luck. The HTML-entity is replaced by the '-character somewhere down the line and entries containing an apostrophe can't be transfered from the autocompleted list to the text field.

I'm sorry that I can't be of much help here. I have very limited time the next two days and will be out-of-office for two weeks starting on Monday. Of course, when I'm back I will dig deeper into this.


Regards
Tom



Igor Vaynberg schrieb:
can you try replacing it with ' and see if that works better?

-igor

2009/3/11 Thomas Gier <thomas.g...@factscience.de>

Hello,

I'm using wicket version 1.4-rc1.

I have a list of journals coming from a database from which selects. I
present this list in an AutoCompleteTextField. Some of the Journal's name
contain single quotes like in "Reader's Digest". It's not possible to select
an entry with single quotes. I think the single quote breaks the JavaScript.

As a quick and dirty solution I now replace every single quote with a "`"
in getChoices(). This is somehow acceptable but not really working in IE6
which complains about a type mismatch.

Does anybody have better strategy to work around this? A similar problem
must have hit somebody else out there :)


Thanks for reading
Tom

--

_________________________________________________________________________________________________________

Thomas Gier

QLEO GmbH
Theaterstr. 13
52062 Aachen

Tel +49-241-900 89-21
Fax +49-241-900 89-19

thomas.g...@qleo.de
www.qleo.de

QLEO Science: System-Lösungen für Forschung - Lehre - Administration

_________________________________________________________________________________________________________

QLEO Science GmbH, Theaterstr. 13, D-52062 Aachen, Tel. +49 241 90089-0 ;
Fax +49 241 90089-19
Sitz der Gesellschaft: Aachen - Amtsgericht Aachen HR B 7321

Geschäftsführer:
Dr. rer. medic. Dipl.-Ing Bernhard Krause M.O.R.
Dipl.-Ing. Daniel Müllers SAE
Dipl.-Math. Armin Priggen

_________________________________________________________________________________________________________

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese eMail
irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und
vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte
Weitergabe dieser Mail ist nicht gestattet.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org





--
_________________________________________________________________________________________________________

Thomas Gier

QLEO GmbH
Theaterstr. 13
52062 Aachen

Tel +49-241-900 89-21
Fax +49-241-900 89-19

thomas.g...@qleo.de
www.qleo.de

QLEO Science: System-Lösungen für Forschung - Lehre - Administration
_________________________________________________________________________________________________________

QLEO Science GmbH, Theaterstr. 13, D-52062 Aachen, Tel. +49 241 90089-0 ; Fax 
+49 241 90089-19
Sitz der Gesellschaft: Aachen - Amtsgericht Aachen HR B 7321

Geschäftsführer:
Dr. rer. medic. Dipl.-Ing Bernhard Krause M.O.R.
Dipl.-Ing. Daniel Müllers SAE
Dipl.-Math. Armin Priggen
_________________________________________________________________________________________________________

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese eMail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to