[
https://issues.apache.org/jira/browse/TRINIDAD-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831448#action_12831448
]
Mathias Walter commented on TRINIDAD-1569:
------------------------------------------
The used JSF Runtime is Mojarra (see environment). I didn't try it with
MyFaces. The last time I tried MyFaces (over a year ago), I got some strange
behaviour (not related to this bug).
> PPR does not work with h:outputText and umlauts
> -----------------------------------------------
>
> Key: TRINIDAD-1569
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1569
> Project: MyFaces Trinidad
> Issue Type: Bug
> Affects Versions: 1.2.12-core
> Environment: JSF RI Mojarra (1.2_13-b01-FCS), JBoss Seam 2.2.0.GA,
> Facelets 1.1.14, Tomcat 6.0.18
> Reporter: Mathias Walter
>
> PPR does not work, if a h:outputText component with a value containing german
> umlauts is used anywhere at the page. The encoding is UTF-8. It does not
> matter, if the html entities (e. g. ä) or the character encoding (e. g.
> ä) are used.
> But it works, if form data contains umlauts.
> test:
> <?xml version="1.0" encoding="UTF-8" ?>
> <!--DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"-->
> <xhtml xmlns="http://www.w3.org/1999/xhtml"
> xmlns:h="http://java.sun.com/jsf/html"
> xmlns:tr="http://myfaces.apache.org/trinidad">
> <body>
> <h:outputText value="Einverständniserklärungen" />
> <tr:form>
> <tr:table value="#{consentTypes.list}"
> binding="#{consentTypes.model}" var="row">
> <tr:column headerText="Name">
> <tr:inputText label="Name"
> value="#{row.name}" readOnly="#{consentTypes.visibleOnly}"
> converter="nullStringConverter" required="true" columns="20" />
> </tr:column>
> <tr:column headerText="Actions">
> <tr:panelButtonBar>
> <tr:commandLink
> action="#{consentTypes.edit}" text="Edit" partialSubmit="true"
> rendered="#{!consentTypes.editMode and consentTypes.visibleOnly}"
> immediate="true" />
> <tr:commandLink
> action="#{consentTypes.save}" text="Save" partialSubmit="true"
> rendered="#{!consentTypes.visibleOnly}" />
> <tr:commandLink
> action="#{consentTypes.cancel}" text="Cancel" partialSubmit="true"
> rendered="#{!consentTypes.visibleOnly}" immediate="true">
>
> <tr:resetActionListener/>
> </tr:commandLink>
> </tr:panelButtonBar>
> </tr:column>
> </tr:table>
> </tr:form>
> </body>
> </xhtml>
> Note: The backing bean only changes the visibleOnly-flag for this minimal
> test case.
> Workaround:
> Use tr:outputText instead of h:outputText or replace the umlauts.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.