This has come up quite a bit here on the user list.

See the first example on this page:
http://www.jeremythomerson.com/blog/2008/11/06/wicket-the-power-of-nested-models/


-- 
Jeremy Thomerson
http://www.wickettraining.com

On Tue, Jan 27, 2009 at 1:38 PM, nate roe <phl...@gmail.com> wrote:

> I'm using Wicket v1.3.4.
>
> I would like to create a kind of TextField that converts a null model value
> to a custom string rather than an empty string.  Unfortunately, the
> converter is not run when the model object is null, and it looks like
> Component.getModelObjectAsString(...) is hard-coded to return "" when the
> model is null.
>
> Is there some way I can overcome this without modifying the Wicket source?
>
> Thanks,
> Nate Roe
>

Reply via email to