You mean make saveMyBean a StateHolder and have t:saveState save it that way? This feature does not exist, but if you submit a patch a promise to look at it.
Dennis Byrne >-----Original Message----- >From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Sent: Thursday, March 30, 2006 04:40 AM >To: ''MyFaces Discussion'' >Subject: RE: Request bean have been stored to session > >Sorry, Dennis > >I found out that I'm using <t:saveState id="saveMyBean" >value="#{wholeBean}"/> > >So saveState always trys to pass SerializableView to session. Can I leave >that. Is implementing of StateHolder interface will help me? > >Thanks, >Yura. > >-----Original Message----- >From: Dennis Byrne [mailto:[EMAIL PROTECTED] >Sent: Wednesday, March 29, 2006 10:54 PM >To: MyFaces Discussion >Subject: Re: Request bean have been stored to session > >Can't help yu then. Disregard ;) But you may want to upgrade to 1.1.1 >regardless, as 1.1.1 is just a bug fix for 1.1.0 . > >Dennis Byrne > >>-----Original Message----- >>From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, March 29, 2006 02:45 PM >>To: ''MyFaces Discussion'' >>Subject: RE: Request bean have been stored to session >> >>Sorry, that confused you. >>I'm using MyFaces 1.1.0 under WEB-INF/lib >> >>Thanks, >>Yura. >> >>-----Original Message----- >>From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, March 29, 2006 10:39 PM >>To: 'MyFaces Discussion' >>Subject: RE: Request bean have been stored to session >> >>I'm using myfaces 1.1.1 >> >>Thanks, >>Yura. >> >>-----Original Message----- >>From: Dennis Byrne [mailto:[EMAIL PROTECTED] >>Sent: Wednesday, March 29, 2006 10:32 PM >>To: MyFaces Discussion >>Subject: Re: Request bean have been stored to session >> >>Which version of MyFaces is this? Do you have myFaces under WEB-INF/lib ? >>or under tomcat's jsf-libs dir ? >> >>Dennis Byrne >> >>>-----Original Message----- >>>From: Yura.Tkachenko [mailto:[EMAIL PROTECTED] >>>Sent: Wednesday, March 29, 2006 02:23 PM >>>To: 'MyFaces Discussion' >>>Subject: Request bean have been stored to session >>> >>>Hi, All >>> >>> >>> >>>I have a few doubts moments in the JSF request beans. >>> >>> >>> >>>I used request JSF bean and also cluster based on JBoss4.0.3SP1 so all my >>>requests are always serialize session for server. But I always got >>exception >>>like this: >>> >>> >>> >>>2006-03-29 19:10:58,258 INFO [STDOUT] java.io.NotSerializableException: >>>com.nsite.wsbuilder.ManageStep4 >>> >>>2006-03-29 19:10:58,258 INFO [STDOUT] at >>>java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054) >>> >>>2006-03-29 19:10:58,258 INFO [STDOUT] at >>>java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) >>> >>>2006-03-29 19:10:58,259 INFO [STDOUT] at >>>java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) >>> >>>2006-03-29 19:10:58,259 INFO [STDOUT] at >>>java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1224) >>> >>>2006-03-29 19:10:58,259 INFO [STDOUT] at >>>java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1050) >>> >>>2006-03-29 19:10:58,259 INFO [STDOUT] at >>>java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278) >>> >>>2006-03-29 19:10:58,259 INFO [STDOUT] at >>>java.util.ArrayList.writeObject(ArrayList.java:529) >>> >>>2006-03-29 19:10:58,260 INFO [STDOUT] at >>>sun.reflect.GeneratedMethodAccessor118.invoke(Unknown Source) >>> >>> >>> >>>So someone trys to pass request bean to session. I didn't use tomahawk's >>>component saveState and others special component to store view. >>> >>>Could you please help me to investigate this issue, here is my >>configuration >>>for JSF: >>> >>> >>> >>><!-- configuration to optimize --> >>> >>> <context-param> >>> >>> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> >>> >>> <param-value>server</param-value> >>> >>> <description> >>> >>> State saving method: "client" or "server" (= default) >>> >>> See JSF Specification 2.5.2 >>> >>> </description> >>> >>> </context-param> >>> >>> >>> >>> <context-param> >>> >>> >>><param-name>org.apache.myfaces.NUMBER_OF_VIEWS_IN_SESSION</param-name> >>> >>> <param-value>20</param-value> >>> >>> <description> >>> >>> Only applicable if state saving method is "server" (= >>>default). >>> >>> Defines the amount (default = 20) of the latest views are >>>stored in session. >>> >>> </description> >>> >>> </context-param> >>> >>> >>> >>> <context-param> >>> >>> >>><param-name>org.apache.myfaces.SERIALIZE_STATE_IN_SESSION</param-name> >>> >>> <param-value>false</param-value> >>> >>> <description> >>> >>> Only applicable if state saving method is "server" (= >>>default). >>> >>> If true (default) the state will be serialized to a byte >>>stream before it >>> >>> is written to the session. >>> >>> If false the state will not be serialized to a byte stream. >>> >>> </description> >>> >>> </context-param> >>> >>> >>> >>> <context-param> >>> >>> >>><param-name>org.apache.myfaces.COMPRESS_STATE_IN_SESSION</param-name> >>> >>> <param-value>false</param-value> >>> >>> <description> >>> >>> Only applicable if state saving method is "server" >>(=default) >>>and if >>> >>> org.apache.myfaces.SERIALIZE_STATE_IN_SESSION is true (= >>>default) >>> >>> If true (default) the serialized state will be compressed >>>before it >>> >>> is written to the session. If false the state will not be >>>compressed. >>> >>> </description> >>> >>> </context-param> >>> >>> >>> >>> >>> >>>Thanks, >>> >>>Yura Tkachenko >>> >>>Murano Software Kharkov, Ukraine >>> >>>mailto: <mailto:[EMAIL PROTECTED]> >>>[EMAIL PROTECTED] >>> >>> <http://www.muranosoft.com> http://www.muranosoft.com >>> >>> >>> >>> >>> >>> >> >> >> > > >

