Re: Wicket Problem: Ajax request encoding

2010-09-01 Thread Altuğ Bilgin Altıntaş
I found solution for Glassfish

just write sun-web.xml this

?xml version=1.0 encoding=UTF-8?
!DOCTYPE sun-web-app PUBLIC -//Sun Microsystems, Inc.//DTD Application
Server 8.1 Servlet 2.4//EN 
http://www.sun.com/software/appserver/dtds/sun-web-app_2_4-1.dtd;
sun-web-app error-url=
  context-root/cts/context-root
  class-loader delegate=true/
  jsp-config
property name=keepgenerated value=true
  descriptionKeep a copy of the generated servlet class' java
code./description
/property
  /jsp-config
  locale-charset-info default-locale=
locale-charset-map charset= locale=/
parameter-encoding default-charset=UTF-8/
  /locale-charset-info
/sun-web-app


Again ISO-8859-1 problem.

01 Eylül 2010 08:22 tarihinde Altuğ Bilgin Altıntaş alt...@gmail.comyazdı:

 Hi Ronaldo;

 Did you find any solution on that problem ?

 Thanks.

 2010/7/20 Ronaldo Cisneiros Veras ronaldo.cisnei...@cesar.org.br

 Hi,

 We're using Wicket framework (Version 1.4.9) on our systems. Our problem
 occurs when there is a submission of ajax request in text fields. When you
 type the word descrição for example by submitting the text by ajax event
 the word is modified to descrição. This problem only occurs in Internet
 Explorer and does not occur in Firefox.

 We are overriding the init () method of WebApplication class and add the
 following lines for the encoding:

 getMarkupSettings().setDefaultMarkupEncoding(ISO-8859-1);
 ((Settings) getMarkupSettings()).setResponseRequestEncoding(ISO-8859-1);

 Could you tell us a solution for this issue?

 Systems informations:

 Windows XP SP2
 Windows encoding: UTF-8

 Regards, Ronaldo.





Re: Wicket Problem: Ajax request encoding

2010-08-31 Thread Altuğ Bilgin Altıntaş
Hi Ronaldo;

Did you find any solution on that problem ?

Thanks.

2010/7/20 Ronaldo Cisneiros Veras ronaldo.cisnei...@cesar.org.br

 Hi,

 We're using Wicket framework (Version 1.4.9) on our systems. Our problem
 occurs when there is a submission of ajax request in text fields. When you
 type the word descrição for example by submitting the text by ajax event
 the word is modified to descrição. This problem only occurs in Internet
 Explorer and does not occur in Firefox.

 We are overriding the init () method of WebApplication class and add the
 following lines for the encoding:

 getMarkupSettings().setDefaultMarkupEncoding(ISO-8859-1);
 ((Settings) getMarkupSettings()).setResponseRequestEncoding(ISO-8859-1);

 Could you tell us a solution for this issue?

 Systems informations:

 Windows XP SP2
 Windows encoding: UTF-8

 Regards, Ronaldo.



Wicket Problem: Ajax request encoding

2010-07-20 Thread Ronaldo Cisneiros Veras
Hi,

We're using Wicket framework (Version 1.4.9) on our systems. Our problem occurs 
when there is a submission of ajax request in text fields. When you type the 
word descrição for example by submitting the text by ajax event the word is 
modified to descrição. This problem only occurs in Internet Explorer and 
does not occur in Firefox. 

We are overriding the init () method of WebApplication class and add the 
following lines for the encoding:

getMarkupSettings().setDefaultMarkupEncoding(ISO-8859-1);
((Settings) getMarkupSettings()).setResponseRequestEncoding(ISO-8859-1);

Could you tell us a solution for this issue?

Systems informations:

Windows XP SP2
Windows encoding: UTF-8 

Regards, Ronaldo.