|
Hi, back again to adapt an application to Trinidad. I have a page using Tomahawk t:saveState to save a string across requests. This page contains also a t:tree2 component. Now if I perform any action on the tree - such as clicking on nodes or expanding branches - my debugger shows that state is not restored. Other setters are regularly invoked. But if I use the back button on the browser and I click again on the tree, state is restored. It works like a flip-flop, once out of two. I don't know the magics of state saving with Trinidad, I guess things depend on a hidden element attached to forms, such as: <input type="hidden" name="org.apache.myfaces.trinidad.faces.STATE" value="!23efc8f3"> Also I noticed that sources of rendered html page are the same, both when next click will work and when it will not. Needless to say, things used to work fine until Trinindad entered my web.xml. Also I noticed that Tomcat logout still reports: 20-dic-2006 12.42.53 org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl verifyFilterIsInstalled WARNING: The TrinidadFilter has not been installed. Apache Trinidad requires this filter for proper execution. but my web.xml contains: <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-name> </filter-mapping> Any suggestion is welcome. I can ispect/debug sources if provided with some pointers about state restoring. -- Renzo |
- [Trinidad] using t:saveState Renzo Tomaselli
- Re: [Trinidad] using t:saveState Matthias Wessendorf
- Re: [Trinidad] using t:saveState Matthias Wessendorf
- Re: [Trinidad] using t:saveState Renzo Tomaselli
- Re: [Trinidad] using t:saveState Matthias Wessendorf
- Re: [Trinidad] using t:saveState Adam Winer
- Re: [Trinidad] using t:saveState Matthias Wessendorf
- Re: [Trinidad] using t:saveState Renzo Tomaselli
- Re: [Trinidad] using t:saveS... Renzo Tomaselli
- Re: [Trinidad] using t:s... Adam Winer
- Re: [Trinidad] using t:s... Renzo Tomaselli
