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
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
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
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