Hi all,
i've a Panel with a Form wich has a TextField with a MinimumValidator and a
FeedbackPanel for validation error messages.
First i've written a standard text propertie file to customize the error
message and it works fine.
Then i've trouble to put in the Euro-Sign and found that it is possible to use
xml propertie file, but this lead me to the following stack trace:
Caused by: java.lang.ClassCastException: org.apache.xerces.dom.DeferredTextImpl
at org.apache.wicket.util.io.Streams.loadFromXml(Streams.java:158)
at
org.apache.wicket.resource.PropertiesFactory.loadPropertiesFile(PropertiesFactory.java:199)
The xml properties file looks like that:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<entry key="form.amount.NumberValidator.Minimum">The error text with the EURO
Symbol.</entry>
</properties>
Does anyonen know what i've done wrong.
Thanks in advance,
Achim Luczyk
Ist Ihr [email protected] noch frei?
Jetzt prüfen und kostenlose E-Mail-Adresse sichern!
http://email.freenet.de/dienste/emailoffice/produktuebersicht/basic/mail/index.html?pid=6829
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]