Comments (11)
Screenshot before post usgin ajax submit with jquery plugin (the last one was
wrong ^^')
Original comment by jyoshiriro
on 16 Nov 2009 at 10:36
Attachments:
from struts2-jquery.
Original comment by johgep
on 17 Nov 2009 at 7:56
- Changed state: Accepted
from struts2-jquery.
did it work when you specify the charset in your form?
<s:form action="myaction" acceptcharset="ISO-8859-1">
Original comment by johgep
on 17 Nov 2009 at 12:42
from struts2-jquery.
I tried to use acceptcharset="ISO-8859-1" but I got the same problem.
Original comment by jyoshiriro
on 17 Nov 2009 at 2:00
from struts2-jquery.
The showcase in my environment shows the parameter correctly.
Original comment by johgep
on 17 Nov 2009 at 3:06
Attachments:
from struts2-jquery.
I don't think so...
See the diference between jquery plugin and dojo plugin.
In your showcase, try to use the result in a form and you will see the "crazy"
characters.
Original comment by jyoshiriro
on 17 Nov 2009 at 3:43
Attachments:
from struts2-jquery.
Use the HTTP Fox plugin with the Firefox to watch this
Original comment by jyoshiriro
on 17 Nov 2009 at 3:44
from struts2-jquery.
I found that this bug occurs when using the property "struts.i18n.encoding"
equals to
"ISO-8859-1". If not using this, NO BUG ;)
But... I need to use this property with this value in my project :(
Original comment by jyoshiriro
on 25 Nov 2009 at 10:55
from struts2-jquery.
Please can you try to set an Global AJAX Option in your head area?
$.ajaxSetup ({
contentType: "application/x-www-form-urlencoded;charset=ISO-8859-1"
});
Original comment by johgep
on 8 Jan 2010 at 10:04
from struts2-jquery.
I have the same problem!
Original comment by [email protected]
on 25 Feb 2010 at 6:12
from struts2-jquery.
Not a plugin problem. This is a Jquery problem.
When using Ajax, Jquery always uses UTF-8 submit. So the solution for user that
need
ISO-8859-x charsets is:
1. Do not set struts.i18n.encoding to ISO-8859-x. Use utf-8 (or omit this
property,
because utf-8 is the default)
2. Use the page directive
<%@page contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
into ALL JSP files of your project.
Doing ths steps all special characters will be ok in your project.
Original comment by jyoshiriro
on 31 May 2010 at 3:06
- Changed state: WontFix
from struts2-jquery.
Related Issues (20)
- grid grouping does not group element with same name
- List is generated by hibernate not work struts2 jquery grid
- Hi, I am trying to generate the grid by dynamically selecting values from the database. so my gridmodel is now a multidimensional list of objects. I dont know how to iterate through multidimensional list of objects in jsp HOT 1
- struts2 jquery datepicker not working HOT 1
- The layout and the ADD behavior of the jqGrid are different with different value of compressed in the header tag
- editinline buttons on navigator
- Support for toolbar option of jqgrid
- how to use grid onchange of dropdown
- possibility to input two seperate values but save as one total value in grid column
- Jqgrid - fatal error in editing a row HOT 1
- Is there a way to send post form with object names
- Custom Rendering of Autocomplete
- use /struts-jquery-grid-tags no data return
- value is not preselected with sj:select and autocomplete=true HOT 1
- Exclude javascript from jar file
- onclick of edit button in the navigator without selecting any rows- disables the page
- Change SubGridUrl Action onSubGridRowExpanded of parent grid HOT 1
- Grid - onClick Header HOT 1
- Regarding Licence of Strits 2 jquery grid HOT 1
- gridColumn - Checkbox enable/disable based on bean value
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from struts2-jquery.