[richfaces-issues] [JBoss JIRA] Created: (RF-4448) RichFaces 3.2.2 does not working with Firefox 2.x (UTF-8)
Anderson Braz (JIRA)
jira-events at lists.jboss.org
Wed Sep 10 08:11:38 EDT 2008
RichFaces 3.2.2 does not working with Firefox 2.x (UTF-8)
---------------------------------------------------------
Key: RF-4448
URL: https://jira.jboss.org/jira/browse/RF-4448
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2, 3.2.1, 3.2.0.SR1, 3.2.0
Environment: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
Reporter: Anderson Braz
Priority: Blocker
Fix For: 3.2.2
Attachments: screenshot-1.jpg
We are using UTF-8 application and when XHTML will be rendered the following message was thrown:
Portuguese message:
Erro no processamento de XML: entidade não definida
Posição: http://localhost/showcase/
Número da linha 68, Coluna 51:<td><span class="label" style="color:#4D586C;">Usuário</span></td>
---------------------------------------------------------------------------------------------------------------------^
Translating to english:
Error in XML parse: Undefined Entity
Location: http://localhost/showcase/
Number of line 68, Column 51: <td><span class="label" style="color:#4D586C;">Usuário</span></td>
--------------------------------------------------------------------------------------------------------------------^
Our XHTML code:
<h:outputText value="#{UI.idUsuario}" styleClass="label"/>
This line would be rendered as "Usuário"
<rich:tabPanel styleClass="screen-size" switchType="client" headerAlignment="center">
<ui:insert name="left-menu"/>
<rich:tab label="#{UI.opcoes}">
<h:panelGrid columns="3">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="welcome"
action="welcome"
immediate="true">
<h:graphicImage value="template/resources/decorator/home.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.pagina_inicial}" styleClass="label tab-item"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="alterarsenha"
action="alterarsenha"
immediate="true">
<h:graphicImage value="template/resources/decorator/alterarsenha.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.alterar_senha}" styleClass="label tab-item"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="logout"
action="#{Login.logout}"
immediate="true">
<h:graphicImage value="template/resources/decorator/logout.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.sair}" styleClass="label tab-item"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.mylanguage}">
<h:panelGrid columns="2">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="idioma"
action="idioma"
immediate="true">
<h:graphicImage value="template/resources/decorator/idioma.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idIdioma}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="palavra"
action="palavra"
immediate="true">
<h:graphicImage value="template/resources/decorator/palavra.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idPalavra}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.mysecurity}">
<h:panelGrid columns="7">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="concessao"
action="concessao"
immediate="true">
<h:graphicImage value="template/resources/decorator/concessao.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idConcessao}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="perfil"
action="perfil"
immediate="true">
<h:graphicImage value="template/resources/decorator/perfil.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idPerfil}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="log"
action="log"
immediate="true">
<h:graphicImage value="template/resources/decorator/log.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idLog}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="regra"
action="regra"
immediate="true">
<h:graphicImage value="template/resources/decorator/regra.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idRegra}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="sessao"
action="sessao"
immediate="true">
<h:graphicImage value="template/resources/decorator/sessao.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idSessao}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="tela"
action="tela"
immediate="true">
<h:graphicImage value="template/resources/decorator/tela.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idTela}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="usuario"
action="usuario"
immediate="true">
<h:graphicImage value="template/resources/decorator/usuario.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idUsuario}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.myaddress}">
<h:panelGrid columns="2">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="pais"
action="pais"
immediate="true">
<h:graphicImage value="template/resources/decorator/pais.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idPais}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="tipologradouro"
action="tipologradouro"
immediate="true">
<h:graphicImage value="template/resources/decorator/tipologradouro.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idTipoLogradouro}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
<rich:tab label="#{UI.mypackage}">
<h:panelGrid columns="3">
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="parametro"
action="parametro"
immediate="true">
<h:graphicImage value="template/resources/decorator/parametro.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idParametro}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="aplicativo"
action="aplicativo"
immediate="true">
<h:graphicImage value="template/resources/decorator/aplicativo.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idAplicativo}" styleClass="label"/>
</h:panelGrid>
<h:panelGrid style="text-align:center">
<a4j:commandLink
id="atualizacao"
action="atualizacao"
immediate="true">
<h:graphicImage value="template/resources/decorator/atualizacao.gif" style="border:0px;"/>
</a4j:commandLink>
<h:outputText value="#{UI.idAtualizacao}" styleClass="label"/>
</h:panelGrid>
</h:panelGrid>
</rich:tab>
</rich:tabPanel>
--
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
More information about the richfaces-issues
mailing list