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 be all you need
for wicket to know which getter/setter to call.

Since you mentioned that you can see the values rendered okay but you can't
change them via your form submit I would ask to see the full picture.

Can you create a quick start and show it to us?
http://wicket.apache.org/start/quickstart.html

Also take a look at FormComponentPanel's direct known subclasses:
DateTimeField, MultiFileUploadField, Multiply

~ Thank you,
  Paul Bors

-----Original Message-----
From: Raul [mailto:ralva...@netwie.com] 
Sent: Thursday, December 06, 2012 10:35 AM
To: users@wicket.apache.org
Subject: Re: Model is null after submit, using FormComponentPanel

I've tried to override FormComponentPanel#convertInput (),  but in the
execution of this, both the method TextField#getConvertedInput () and
TextField#getModelObject () return null. By the way I'm using Wicket 6.3



--
View this message in 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-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to