ah, I found the cause. it's because of the file encoding setting used in
tomcat for working around
TAP5-1741(https://issues.apache.org/jira/browse/TAP5-1741). So the
parameter is actually decoded correctly but just output in log with
malformation. Sorry for the trouble.
?? 2012/5/19 15:01, Ru
anyone has any idea?
?? 2012/5/18 22:43, Rural Hunter :
Very very strange.
I tried to encode Chinese first in javascript then sent to the
component event handler.
Javascript:
new Ajax.Request(spec.url,
{
method: 'post',
Very very strange.
I tried to encode Chinese first in javascript then sent to the component
event handler.
Javascript:
new Ajax.Request(spec.url,
{
method: 'post',
parameters: {content: encodeURIComponent('?
Hi,
I wrote a component which uses ajax request to trigger a component event:
new Ajax.Request(spec.url,
{
method: 'post',
parameters: {content: newContent}
});
In the event handler:
Object onContentChangeDetected(@RequestP