Igor Vaynberg wrote:
> On 7/16/07, David Rosenstrauch <[EMAIL PROTECTED]> wrote:
>>
>>
>> My over-arching question at this point is:  Is it a requirement that a
>> model's target object be Serializable?
> 
> 
> no

> if validation fails the models are not updated, wicket will hold on to 
> input
> for you and redisplay it in the form. model updates are atomic in regard to
> validation. so you are ok. the only thing to worry when using db backed
> beans directly is locking. martijn has a  great example on how to handle
> optimistic locking in the form on his blog.

> see above answer. you can use an ldm and in load() return new instance 
> every
> time.

> IModel is in part to allow the dto beans to not be serializable if you do
> not want them to.
> 
> -igor


Thanks much for the quick reply, Igor.

OK, cool - that's good news.  I'm glad I don't have to do a massive 
conversion to serializable.  Let me try what you suggested and see how 
it goes.

Thanks again!

DR

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to