Hi,

I have an existing Tomahawk based application, to which I wanted to add some new features. I wanted to start out with some basic Trinidad PPR, so I copied the configuration details from one of the Trinidad hello-world examples, but I must have messed something up. (Trinidad 1.0.5, Myfaces Core 1.1.4). Originally I thought this was a 1.1.4 problem (I can't upgrade to 1.1.5 Core because of a bug), but the problem persists even when I use the new version. With this config, the application still runs, but the tr: components don't show up, and I get 2 errors:

ERROR - No component states to be saved in client response! (appears sporadically even before using a tr: component)

2008-02-07 00:14:13,753 WARN - Unsupported component-family/renderer-type: org.apache.myfaces.trinidad.Input/org.apache.myfaces.trinidad.Text Feb 7, 2008 12:14:13 AM org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl WARNING: Could not find renderer for CoreInputText[UIXEditableFacesBeanImpl, id=withdrawalDate] rendererType = org.apache.myfaces.trinidad.Text Feb 7, 2008 12:14:15 AM org.apache.myfaces.trinidad.component.UIXComponentBase _getRendererImpl

In terms of the new configurations added, they include:

<context-param>s
org.apache.myfaces.trinidad.CACHE_VIEW_ROOT    false
org.apache.myfaces.trinidad.USE_APPLICATION_VIEW_CACHE    false
org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION    true
org.apache.myfaces.trinidad.CHANGE_PERSISTENCE   session

   <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>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
   </servlet>

   <servlet-mapping>
     <servlet-name>resources</servlet-name>
     <url-pattern>/adf/*</url-pattern>
   </servlet-mapping>

(no trinidad-config.xml as of yet)

Is there something in the config that I've missed?

--
Shane

Reply via email to