I tried the following simple jsf:

<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root version="2.0"
 xmlns:jsp="http://java.sun.com/JSP/Page";
 xmlns:c="http://java.sun.com/jsp/jstl/core";
 xmlns:f="http://java.sun.com/jsf/core";
 xmlns:h="http://java.sun.com/jsf/html";
 xmlns:tr="http://myfaces.apache.org/trinidad";>
<jsp:directive.page contentType="text/html; charset=utf-8"/>
 <f:view>
   <tr:document title="My Title">
     <h:form>
       <h:commandButton value="h: Click me" action="#{locale.clicked}"/>
       <tr:commandButton text="tr: Click me" action="#{locale.clicked}"/>
     </h:form>
   </tr:document>
 </f:view>
</jsp:root>

In the faces-config.xml I have:
<application>
<default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id>
</application>

Then the action procedures of both buttons are never called. But: when I just remove the <default-render-kit-id> the action procedure of the <h:commandButton> is called as I would expect (the <tr:commandButton> is then of course not rendered). I can't imagine that <h:commandButton> and <tr:commandButton> don't work at all, so probably I am doing something very wrong?? (I just started moving from JSF to Trinidad, so I'm relatively new here, any help would be greatly appreciated).
I am using jsf-1.2_07-b03-FCS with trinidad-1.2.5.

Paul.

Reply via email to