You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Christian Haupt (JIRA)" <de...@myfaces.apache.org> on 2010/02/09 12:57:27 UTC
[jira] Commented: (TRINIDAD-1569) PPR does not work with
h:outputText and umlauts
[ https://issues.apache.org/jira/browse/TRINIDAD-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12831427#action_12831427 ]
Christian Haupt commented on TRINIDAD-1569:
-------------------------------------------
Bug is available at versions 1.2.11, 1.2.12 and 1.2.13.
PPR Response (XML) is invalid: "entity not defined". (e. g. ä)
Bug also affects h:outputFormat. Problem: There is no equivalent for h:outputFormat at Trinidad.
> 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.