textarea.settype(mytype.class); or new textarea("id",model,mytype.class);

yes, alternatvely you can override convertvalue()

-igor


On Thu, Mar 13, 2008 at 12:22 PM, Michael Mehrle <[EMAIL PROTECTED]> wrote:
> Thanks for help (again), Igor :-) However, I'm not sure I understand -
>  could you please give me a code fragment?
>
>  BTW, I just dug around in FormComponent - isn't an alternative approach
>  to override convertValue()?
>
>  Michael
>
>
>
>  -----Original Message-----
>  From: Igor Vaynberg [mailto:[EMAIL PROTECTED]
>  Sent: Thursday, March 13, 2008 12:12 PM
>  To: users@wicket.apache.org
>  Subject: Re: getConverter() in TextArea not being called
>
>  you have to set the type either via constructor arg or a call to settype
>
>  -igor
>
>
>  On Thu, Mar 13, 2008 at 12:08 PM, Michael Mehrle
>  <[EMAIL PROTECTED]> wrote:
>  > I've got a custom TextArea which overrides getConverter(), however for
>  >  some reason that method never gets called. getConverter() returns an
>  >  implementation of IConverter - it all looks pretty basic.
>  >
>  >  Is there anything special I have to do for getConverter() to be
>  called?
>  >  By the way I added the @Override annotation, so I'm sure the method
>  sig
>  >  is correct.
>  >
>  >  Michael
>  >
>  >
>  >  ---------------------------------------------------------------------
>  >  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]
>
>
>  ---------------------------------------------------------------------
>  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