A non-serializable object must not be referenced by a component
hierarchy and its models:
In your case:
CreateCustomer
-> Form
-> CompoundPropertyModel
-> Customer
One possibility is to use a LDM:
private final IModel customer = new
LoadableDetachableModel() {
public Customer
Ok,
but what exactly does that mean?
And how can I avoid the chaining problem?
I think the code is pretty forward and I dont know what I did wrong.
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Serializable-Problem-tp4656886p4656891.html
Sent from the Users forum m
ct
> org.apache.wicket.model.ChainingModel.target [class=com.customer.Customer]
> <- field that is causing the problem*
> "
>
>
> This is very confusing for me. The error message says that the Customer
> instance is not serializable, although I marked the field as tra
e field as transient !!
Any suggestions?
Cheers,
Y
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Serialzation-Problem-tp4656886.html
Sent from the Users forum mailing list archive at Nabble.com.
---