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.
>
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
org.apache.wicket.mode
Hello Johan,
Thanks for the repsonse. :-)
All I have done is follow the code within theSingleFileUpload example
in wicketstuff.com. Is this a bug or am I doing something wrong? I am
using Wicket 1.3.0-beta4 and here is the stack of the exception:
ERROR - Objects- Error serial
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
> org.apache.wicket
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