Hi Desik,

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

I get.

XML Parsing Error: mismatched tag. Expected: </link>.
Location: http://localhost:8080/artshop/faces/app/home.jspx
Line Number 7, Column 527:

I am using tomcat-6.0.18, myfaces 1.2.0, trinidad 1.2.10, firefox 3.0.5




On Dec 30, 2008, at 2:00 AM, desik wrote:


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