myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthias Weßendorf (JIRA) <...@myfaces.apache.org>
Subject [jira] Commented: (TRINIDAD-1569) PPR does not work with h:outputText and umlauts
Date Sat, 16 Jan 2010 16:53:54 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-1569?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12801218#action_12801218
] 

Matthias Weßendorf commented on TRINIDAD-1569:
----------------------------------------------

does this happen with MyFaces too ?

> 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. &auml;) or the character encoding (e. g. &#228;) 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.


Mime
View raw message