I have a form with tow submit buttons (just for testing). A "normal" submit button and an AjaxSubmitButton. If I submit the form's fields with the "normal" button, umlauts are submitted corretly.
If I submit the form's fields with the AjaySubmitButton,
the umlauts are converted into smething else. Each characters is split into two
characters. Maybe the typed ISO-8859-1 which is
encoede in eight bits is converted to something like UTF-8 wich is stored in 16 bits.
In Application.init() I
have
IMarkupSettings markupSettings =
getMarkupSettings();
markupSettings.setDefaultMarkupEncoding("ISO-8859-1");
IRequestCycleSettings requestCycleSettings =
getRequestCycleSettings();
requestCycleSettings.setResponseRequestEncoding("ISO-8859-1");
My HTML lokks like
<?xml version='1.0'
encoding='ISO-8859-1'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html
xmlns="http://www.w3.org/1999/xhtml"
xml:lang="de" lang="de" xmlns:wicket="http://wicket.sourceforge.net/">
<head>
<title
wicket:id="pageTitle">Visiomedic:
Anmeldung</title>
<meta http-equiv="Content-Type"
content="text/html; charset=ISO-8859-1"/>
I use Tomcat 5.5
with JBoss 4 and in Tomcat's server.xml I
have
URIEncoding="ISO-8859-1"
What am I doing wrong?
Stefan Lindner
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user