Hello Helmut,

without escaping the ajax requests are not able to display umlauts.
If you need escape false you should escape umlauts by hand.

May be we found a solution in a future version.

Regards

Bernd

H. Swaczinna wrote:
Hello Bernd,

this doesn't solve my problem. The problem occurs, when you have
a tc:out tag with escape="false"(!) in an ajax loaded component. Here's
an example for a popup:

<%@ taglib uri="http://myfaces.apache.org/tobago/component"; prefix="tc" %><%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f" %><%@ page contentType="text/html;charset=UTF-8" language="java" %><%@ page pageEncoding="UTF-8"
%><f:view
 ><tc:page label="Test" width="200px" height="100px">
    <tc:out escape="false" value="Umlauts test öäüÖÄÜß"/>
    <tc:button label="Popup">
      <tc:attribute name="renderedPartially" value="popup"/>
      <f:facet name="popup">
        <tc:popup width="200" height="200" id="popup">
          <tc:box label="Umlauts test öäüÖÄÜß">
            <tc:out escape="false" value="Umlauts test öäüÖÄÜß"/>
            <tc:button label="close">
              <tc:attribute name="popupClose" value="immediate"/>
            </tc:button>
          </tc:box>
        </tc:popup>
      </f:facet>
    </tc:button>
  </tc:page>
</f:view>

The umlauts outside the popup are displayed correct, those inside not.
I observed the same behaviour in a tc:sheet with tc:reload and in a
panel with an explicit Tobago.reloadComponent().

Regards
Helmut

Hello Helmut,

I solve this problem with adding

<%@ page pageEncoding="UTF-8" %>

to my pages.

Regards


Bernd

H. Swaczinna wrote:
Hi,

the character encoding works not correctly, when a component is
reloaded via ajax. I coded my JSP pages and german umlauts in utf8.
When the page is initially loaded, all umlauts are displayed as
expected. But when the component is reloaded (explicit or in a popup),
the umlauts appear as qustionmarks. Is there any filter or so to
be configured in faces-config?

Regards
Helmut


Reply via email to