Submitting values for null associations

2014-02-11 Thread ChambreNoire
thanks, Chambre -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null-associations-tp4664365.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e

Re: Submitting values for null associations

2014-02-11 Thread francois meillet
into a field that is bound to User.Job.Name I get a WicketRuntimeException: Attempted to set property value on a null object. How is this kind of situation generally handled? Many thanks, Chambre -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null

Re: Submitting values for null associations

2014-02-11 Thread ChambreNoire
flip from view to edit but then all the child form components would need to be reassigned as I'm not rebuilding the view... Chambre -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null-associations-tp4664365p4664368.html Sent from the Users forum

Re: Submitting values for null associations

2014-02-11 Thread ChambreNoire
/Submitting-values-for-null-associations-tp4664365p4664369.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h

Re: Submitting values for null associations

2014-02-11 Thread francois meillet
systematically make a new Job instance is that when saving the form hibernate creates a new Job instance which is effectively empty if no Job details have been input. Chambre -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null-associations

Re: Submitting values for null associations

2014-02-11 Thread ChambreNoire
Why would that make any difference? A null Job is still a null Job. Unless I'm missing something... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null-associations-tp4664365p4664371.html Sent from the Users forum mailing list archive

Re: Submitting values for null associations

2014-02-11 Thread francois meillet
difference? A null Job is still a null Job. Unless I'm missing something... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null-associations-tp4664365p4664371.html Sent from the Users forum mailing list archive at Nabble.com

Re: Submitting values for null associations

2014-02-11 Thread ChambreNoire
.1842946.n4.nabble.com/Submitting-values-for-null-associations-tp4664365p4664373.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional

Re: Submitting values for null associations

2014-02-11 Thread Marios Skounakis
the form hibernate creates a new Job instance which is effectively empty if no Job details have been input. Chambre -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Submitting-values-for-null-associations-tp4664365p4664369.html Sent from the Users forum mailing list