write a model that returns your default value in getobject and updates
the object in setobject

-igor

On Tue, Jul 7, 2009 at 6:57 AM, Martin
Makundi<[email protected]> wrote:
> Hi!
>
> What is the proper way to prefill a wicket form (not poke the model
> before submit!!!)?
>
> I have used a hack:
>
>      Field rawInputField = FormComponent.class.getDeclaredField("rawInput");
>      rawInputField.setAccessible(true);
>      rawInputField.set(component, description);
>
> Is there a better way?
>
> **
> Martin
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to