Hi,

can you post please content of faces-config.xml and trindiad-config.xml?
Also please list all libraries deployed with your application; or
ideally provide simple complete project to reproduce your problem.

> that anyone is using trinidad2 (with facelets) really...

I am using it - but I use myfaces core, not mojarra.

Regards,

Kočičák

Manuel Hartl píše v Ne 17. 07. 2011 v 03:11 +0200:
> Hi list,
> 
> my rearch to get trinidad2 with facelets working gets more confusing..
> 
> the following was tested with
> mojarra 2.0.2-b10 and 2.0.6
> trinidad-2.0.0 and trinidad-2.0.1-SNAPSHOT (executed von 17th of July)
> 
> web.xml-parameters:
>       <context-param>
>               <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
>               <param-value>.xhtml</param-value>
>       </context-param>
>       <context-param>
>               <param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
>               <param-value>false</param-value>
>       </context-param>
>       <context-param>
>               <param-name>javax.faces.PROJECT_STAGE</param-name>
>               <param-value>Development</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>org.apache.myfaces.COMPRESS_STATE_IN_CLIENT</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <context-param>
>               
> <param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name>
>               <param-value>false</param-value>
>       </context-param>
>       <context-param>
>               
> <param-name>org.apache.myfaces.trinidad.CLIENT_STATE_METHOD</param-name>
>               <param-value>token</param-value>
>       </context-param>
>       <context-param>
>       
> <param-name>org.apache.myfaces.trinidad.DISABLE_CONTENT_COMPRESSION</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <context-param>
>       
> <param-name>org.apache.myfaces.trinidad.ENABLE_LIGHTWEIGHT_DIALOGS</param-name>
>               <param-value>true</param-value>
>       </context-param>
>       <context-param>
>       
> <param-name>org.apache.myfaces.trinidadinternal.ENABLE_PPR_OPTIMIZATION</param-name>
>               <param-value>false</param-value>
>       </context-param>
> 
> 
> 
> 
> 1) the problem with tr/trh tags not rendered can be workaround by
> setting the  renderKitId-Attribut of f:view/f:subview to
> "org.apache.myfaces.trinidad.core".
> it seems that the default-render-kit-id in the faces-config.xml is just
> ignored.
> 
> Can someone explain this?
> 
> 2) Now the first page is displayed, any following page gives the
> following exception. It seems this is a problem with the format of
> viewState stored in the hidden form field:
> 
> java.io.IOException: Not in GZIP format
>       at java.util.zip.GZIPInputStream.readHeader(GZIPInputStream.java:143)
>       at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:58)
>       at java.util.zip.GZIPInputStream.<init>(GZIPInputStream.java:67)
>       at
> com.sun.faces.renderkit.ClientSideStateHelper.doGetState(ClientSideStateHelper.java:231)
>       at
> com.sun.faces.renderkit.ClientSideStateHelper.getState(ClientSideStateHelper.java:198)
>       at
> com.sun.faces.renderkit.ResponseStateManagerImpl.getState(ResponseStateManagerImpl.java:100)
>       at
> com.sun.faces.renderkit.ResponseStateManagerImpl.getTreeStructureToRestore(ResponseStateManagerImpl.java:148)
>       at
> org.apache.myfaces.trinidadinternal.application.StateManagerImpl.restoreView(StateManagerImpl.java:584)
>       at
> com.sun.faces.application.view.ViewHandlingStrategy.restoreView(ViewHandlingStrategy.java:123)
>       at
> com.sun.faces.application.view.FaceletViewHandlingStrategy.restoreView(FaceletViewHandlingStrategy.java:448)
>       at
> com.sun.faces.application.view.MultiViewHandler.restoreView(MultiViewHandler.java:148)
>       at
> javax.faces.application.ViewHandlerWrapper.restoreView(ViewHandlerWrapper.java:288)
> 
> 
> The more i dig into this, the more doubts raise, that anyone is using
> trinidad2 (with facelets) really...
> 
> Regards,
>       Manuel.
> 
> 


Reply via email to