Re: Model is null after submit, using FormComponentPanel

2012-12-07 Thread Raul
Thanks, your suggestion solved my problem. Greetings from Spain. -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654594.html Sent from the Users forum mailing list archive at Nabble.com

Re: Model is null after submit, using FormComponentPanel

2012-12-07 Thread Sven Meier
abble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654586.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands

RE: Model is null after submit, using FormComponentPanel

2012-12-07 Thread Raul
Here is the example to prove it's package it and deploy it in an application server. http://ul.to/ymfabds0 -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654586.html Sent from the Users forum ma

Re: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Joachim Schrod
Paul Bors wrote: > Assuming that you don't set a model for the FormComponet won't Wicket fail > back to the CompountPropertyModel of the form? Yes, for sure. But you explicitly recommended: >> If you're using CompoundPropertyModel and set the model on your >> FormComponentPanel then your TextFiel

RE: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Paul Bors
after submit, using FormComponentPanel I created a quickstart, Where I can upload it for what you may see? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using- FormComponentPanel-tp4654441p4654566.html Sent from the Users forum mailing list

RE: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Paul Bors
ul Bors -Original Message- From: Joachim Schrod [mailto:jsch...@acm.org] Sent: Thursday, December 06, 2012 2:05 PM To: users@wicket.apache.org Subject: Re: Model is null after submit, using FormComponentPanel Paul Bors wrote: > I would suggest overriding FormComponentPanel#convertInput() on

RE: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Raul
I created a quickstart, Where I can upload it for what you may see? -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654566.html Sent from the Users forum mailing list archive at Nabble.com

Re: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Joachim Schrod
Paul Bors wrote: > I would suggest overriding FormComponentPanel#convertInput() only if your > domain object can't be easily converted by Wicket given the model you have. > > If you're using CompoundPropertyModel and set the model on your > FormComponentPanel then your TextField ID and type should

RE: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Paul Bors
context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using- FormComponentPanel-tp4654441p4654557.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-uns

Re: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Raul
nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654557.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional comman

Re: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Tobias Gierke
ountCodeValidator.getInstance()); } @Override public Component add(final Behavior... behaviors) { entity.add(behaviors); office.add(behaviors); dc.add(behaviors); number.add(behaviors); return

Re: Model is null after submit, using FormComponentPanel

2012-12-06 Thread Raul
nent add(final Behavior... behaviors) { entity.add(behaviors); office.add(behaviors); dc.add(behaviors); number.add(behaviors); return this; } } -- View this message in context: http://apache-wicket.1842946

Re: Model is null after submit, using FormComponentPanel

2012-12-05 Thread Paul BorČ™
Take a look at https://cwiki.apache.org/WICKET/working-with-wicket-models.html Okay so Account is the type of the model object and your FormComponentPanel seem to work off a CustomerAccountCodeModel: >> CustomerAccountCodeModel ccc = getModelObject(); If I'm understanding this right, what does

Re: Model is null after submit, using FormComponentPanel

2012-12-04 Thread Raul
I tried to use CompoundPropertyModel in CustomerAccountCode object constructor, and similarly -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441p4654490.html Sent from the Users forum mailing list archive

Re: Model is null after submit, using FormComponentPanel

2012-12-04 Thread Joachim Schrod
Raul wrote: > Thank Col, But I have no validation, my component code is the code of the > component is > > public class CustomerAccountCode extends > FormComponentPanel { > > private FormComponent entity; > private FormComponent office; > private FormComponent dc;

RE: Model is null after submit, using FormComponentPanel

2012-12-04 Thread Raul
new Model( new Account(config.getCcc(; add(ccc); .... -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel

RE: Model is null after submit, using FormComponentPanel

2012-12-03 Thread Colin Rogers
. -Original Message- From: Raul [mailto:ralva...@netwie.com] Sent: Tuesday, 4 December 2012 8:35 AM To: users@wicket.apache.org Subject: Model is null after submit, using FormComponentPanel Hello, I want to create a reusable component for use as part of a form, for this class use

Model is null after submit, using FormComponentPanel

2012-12-03 Thread Raul
: http://apache-wicket.1842946.n4.nabble.com/Model-is-null-after-submit-using-FormComponentPanel-tp4654441.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org