Re: WicketNotSerializableException withi FileUpload

2007-11-09 Thread James Perry
I removed the Model instantion from the FileUploadField and this issue has gone. Cheers! J. On Nov 8, 2007 11:31 PM, Johan Compagner [EMAIL PROTECTED] wrote: Ok the problem is that somehow you are holding on to a FileUpload in your page And those are not meant to be kept over requests. it

Re: WicketNotSerializableException withi FileUpload

2007-11-08 Thread Johan Compagner
Ok the problem is that somehow you are holding on to a FileUpload in your page And those are not meant to be kept over requests. it seems that you keep it if i read it right in a normal Model: [class=org.apache.wicket.model.Model] private java.io.Serializable

Re: WicketNotSerializableException withi FileUpload

2007-11-07 Thread Johan Compagner
what is the full stack of the exception? because who does have that field? Streams should always be transient because those can't be serialized whats the wicket version? johan On 11/6/07, James Perry [EMAIL PROTECTED] wrote: Hello fellow Wicket users, I am getting a

WicketNotSerializableException withi FileUpload

2007-11-06 Thread James Perry
Hello fellow Wicket users, I am getting a org.apache.wicket.util.io.SerializableChecker$WicketNotSerializableException: Unable to serialize class: org.apache.wicket.util.io.DeferredFileOutputStream exception when I added a file upload feature to my AddProductForm. My form is serialiazable yet I