Did you set this up in web.xml?

 <!-- Trinidad Application Controller Filter -->
 <filter>
   <filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
 </filter>

 <!-- Trinidad Application Controller Filter Mapping -->
 <filter-mapping>
   <filter-name>trinidad</filter-name>
   <!-- This assumes that the FacesServlet has been registered -->
   <!-- under the name "faces" -->
   <servlet-name>faces</servlet-name>
 </filter-mapping>

              -=> Gregg <=-

Dave wrote:
we are using JBoss5.0.1, jsf ri 1.2, tomahawk 1.1.8 and richfaces 3.3.0. we downloaded trinidad 1.2.11 and tried to integrate trinidad into current project. but for the following simple page, nothing showed up. <tr:commandLink>/<tr:commandButton> did not show up. Am I missing anything? <%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsf/html"; prefix="h"%>
<%@ taglib uri="http://java.sun.com/jsf/core"; prefix="f"%>
<%@ taglib uri="http://myfaces.apache.org/tomahawk"; prefix="t"%>
<%@ taglib uri="http://richfaces.org/a4j"; prefix="a4j"%>
<%@ taglib uri="http://myfaces.apache.org/trinidad"; prefix="tr"%>
<f:view >
<t:htmlTag value="html">
<t:htmlTag value="head">
</t:htmlTag>
<t:htmlTag value="body">
<h:form>
 <tr:commandLink text="Go" action="#{testBean.clickLink}"/>
     <tr:commandButton text="Submit" action="#{testBean.clickLink}"/>
</h:form>
<tr:form>
 <tr:commandLink text="Go2" action="#{testBean.clickLink}"/>
     <tr:commandButton text="Submit2" action="#{testBean.clickLink}"/>
</tr:form> </t:htmlTag>
</t:htmlTag>
</f:view>
The way I set up trinidad:
copy trinidad api and impl to JBOSS jsf-libs change deployers/jbossweb.deployer/web.xml, add trinidad impl jar as I did for tomahawk and other jsf libs.
that is it. no filter to setup.
Thanks for help.
Dave



Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to