I have a simple trinidad page, with no jsp:directive.page charset specified:

<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"; version="2.1"
        xmlns:f="http://java.sun.com/jsf/core";
        xmlns:h="http://java.sun.com/jsf/html";
        xmlns:tr="http://myfaces.apache.org/trinidad";>
  <f:view>
    <tr:document title="not working">
      <tr:form>
        <h:commandButton value="h: Click me"
action="#{loginHandler.login}"/>
        <tr:commandButton text="tr: Click me"
action="#{loginHandler.login}"/>
      </tr:form>
    </tr:document>
  </f:view>
</jsp:root>

Both buttons don't work. When I click them request is not sent to server.

Now, if I add:

<jsp:directive.page contentType="text/html; charset=utf-8"/>

at the beginning of the page, both buttons work properly.
Environment: myfaces 1.2.5, trinidad 1.2.10, tomcat 6.0.18, windoze vista,
firefox 3.
Do you thing this is a trinidad bug?
-- 
View this message in context: 
http://www.nabble.com/-Trinidad--charset-tp21213794p21213794.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to