S2 JSON Plugin problem with encoding

2010-02-21 Thread Néstor Boscán
Hi I'm using the JSON Plugin. My JSP pages are stored in ISO-8859-1 format. When I deploy the application on the production server JSON Plugin sends the JSON Page with UTF-8 encoding but the content type says application/json; charset=iso-8859-1. So the page is rendered with problems for accented

Re: ajax validation with IE8

2010-02-21 Thread Lukasz Lenart
2010/2/21 Stephen Ince : > Okay I found the problem. I find it hard to believe that anyone is > using css_xhtml theme with this bug. It doesn't work in IE8 and it > does not work properly in any other browser. > > problem > struts/css_xhtml/validation.js: function findWWCtrlNode needed to be > rew

Re: InvalidPathException processing form

2010-02-21 Thread Jose A. Corbacho
Hi Try using this: " type="text/css"/> On Mon, Feb 22, 2010 at 11:01 AM, Jim Kennedy wrote: > OK, this is solved, but I'm not sure why changing this line of code solved > the problem. I will explain. > > I have a page called default.jsp and it contains the form as shown in my > previous email.

RE: InvalidPathException processing form

2010-02-21 Thread Jim Kennedy
OK, this is solved, but I'm not sure why changing this line of code solved the problem. I will explain. I have a page called default.jsp and it contains the form as shown in my previous email. This page/form has never had an issue displaying. I only see the error stack trace when I submit the f

InvalidPathException processing form

2010-02-21 Thread Jim Kennedy
I have a fairly simple form at this point and I am getting the above referenced exception when validation fails. Full exception is at the bottom of this email. When my servlet-mapping is set to /run/* I get this exception in my logs, but application seems to work. If I change my servlet-mapping

Re: ajax validation with IE8

2010-02-21 Thread Stephen Ince
Okay I found the problem. I find it hard to believe that anyone is using css_xhtml theme with this bug. It doesn't work in IE8 and it does not work properly in any other browser. problem struts/css_xhtml/validation.js: function findWWCtrlNode needed to be rewritten. function findWWCtrlNode(enclos

ajax validation with IE8

2010-02-21 Thread Stephen Ince
Hi, I am trying to do client-side ajax validation and I am failing. IE throws an error alert, "invalid argument". It seems that the error is really struts2. I also get weird behaviour with ff. The error message comes after the tag. I have a few questions. 1) How do you do client-side validation