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
>
>

Reply via email to