myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Robinson" <andrew.rw.robin...@gmail.com>
Subject Re: [Trinidad] Trinidad components not rendering with Facelets
Date Mon, 05 May 2008 00:48:38 GMT
Silly question, but have you ensured that trinidad-impl.jar is on the
classpath and that only one set of JSF jars (myfaces or mojarra/RI) is
on the classpath and no more?

On Sun, May 4, 2008 at 4:40 PM, Steve Hines <steve@teego.com> wrote:
> I switched my application from using Tiles for templating to facelets and
> now the Trinidad components are not rendering (but the original <tr: and
> trh: tags are showing the resulting HTML page source).  They were rendering
> fine with the Tiles configuration.  The standard JSF components render and
> function with no problem.
>
>  I'm using Trinidad v1.2.7, facelets v1.1.14 on Glassfish v2
>
>  Attached is the XHTML page in which the Trinidad components do not render.
> Here is the web.xml setup for facelets:
>
>  <context-param>
>
> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name>
>       <param-value>com.sun.facelets.FaceletViewHandler</param-value>
>   </context-param>
>    <!-- Special Debug Output for Development -->
>   <context-param>
>       <param-name>facelets.DEVELOPMENT</param-name>
>       <param-value>true</param-value>
>   </context-param>
>   <context-param>
>       <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>       <param-value>.xhtml</param-value>
>   </context-param>
>   <context-param>
>       <param-name>facelets.SKIP_COMMENTS</param-name>
>       <param-value>true</param-value>
>   </context-param>
>   <context-param>
>       <param-name>facelets.REFRESH_PERIOD</param-name>
>       <param-value>2</param-value>
>   </context-param>
>   <context-param>
>       <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
>       <param-value>client</param-value>
>   </context-param>
>   <context-param>
>       <param-name>com.sun.faces.validateXml</param-name>
>       <param-value>true</param-value>
>   </context-param>
>   <context-param>
>       <param-name>com.sun.faces.verifyObjects</param-name>
>       <param-value>false</param-value>
>   </context-param>
>   <filter>
>       <filter-name>trinidad</filter-name>
>
> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
>   </filter>      <filter-mapping>
>       <filter-name>trinidad</filter-name>
>       <servlet-name>Faces Servlet</servlet-name>
>   </filter-mapping>
>      <servlet>
>       <servlet-name>Faces Servlet</servlet-name>
>       <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
>       <load-on-startup>1</load-on-startup>
>   </servlet>
>   <servlet>
>       <servlet-name>resources</servlet-name>
>
> <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
>   </servlet>
>   <servlet>
>       <servlet-name>ExceptionHandlerServlet</servlet-name>
>       <servlet-class>com.sun.errorhandler.ExceptionHandler</servlet-class>
>       <init-param>
>           <param-name>errorHost</param-name>
>           <param-value>localhost</param-value>
>       </init-param>
>       <init-param>
>           <param-name>errorPort</param-name>
>           <param-value>24444</param-value>
>       </init-param>
>   </servlet>
>
>  Any help would be appreciated!
>

Mime
View raw message