Unicode doesn't work with a4j:ajax
----------------------------------
Key: RF-8589
URL:
https://jira.jboss.org/jira/browse/RF-8589
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 4.0.0.ALPHA1
Environment: Linux, JBoss 6 M2, RF 4.0.0.A1, 4.0.0-SNAPSHOT, Google Chrome,
Internet Explorer, Konqueror
Reporter: Pavol Pitonak
Fix For: 4.0.0.ALPHA2
Attachments: unicode.png
I have following page with input and output. Requests are sent by a4j:ajax or f:ajax.
Application works fine in Firefox 3.5.9 but not in other browsers when typing unicode
characters into text input, see screenshot.
<?xml version="1.0" encoding="UTF-8"?>
<!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"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
<title>Application Title</title>
<meta http-equiv="Content-Type" content="text/xhtml;
charset=UTF-8" />
</h:head>
<h:body>
<h:form>
<h:outputLabel value="Name:" for="nameInput" />
<h:inputText id="nameInput" value="#{richBean.name}">
<a4j:ajax event="keyup" render="output" />
</h:inputText>
<h:panelGroup id="output">
<h:outputText value="Hello #{richBean.name}!"
rendered="#{not empty richBean.name}" />
</h:panelGroup>
</h:form>
</h:body>
</html>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira