IConverterLocatorFactory no longer exists?

2008-01-12 Thread Karen Schaper
Hello,

I am trying upgrade some code from the wicket-1.3.0-incubating-SNAPSHOT.jar
to the latest wicket.

It appears that the IConverterLocatorFactory no longer exists.

I need to register a custom converter to the application.

Here is my code which will not compile now.

.
 getApplicationSettings().setConverterLocatorFactory( new
IConverterLocatorFactory()
{
public IConverterLocator newConverterLocator()
{
return new OmsConverter();
}
} );

Is there other solution for this?

Thanks

Karen
(wicket newbie)


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Eelco Hillenius
Yup, in your application override newConverterLocator and let it
return the IConverterLocator instance you want.

Eelco

On Jan 12, 2008 3:28 PM, Karen Schaper [EMAIL PROTECTED] wrote:
 Hello,

 I am trying upgrade some code from the wicket-1.3.0-incubating-SNAPSHOT.jar
 to the latest wicket.

 It appears that the IConverterLocatorFactory no longer exists.

 I need to register a custom converter to the application.

 Here is my code which will not compile now.

 .
  getApplicationSettings().setConverterLocatorFactory( new
 IConverterLocatorFactory()
 {
 public IConverterLocator newConverterLocator()
 {
 return new OmsConverter();
 }
 } );

 Is there other solution for this?

 Thanks

 Karen
 (wicket newbie)


 -
 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]



Re: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Eelco Hillenius
On Jan 12, 2008 3:52 PM, Eelco Hillenius [EMAIL PROTECTED] wrote:
 Yup, in your application override newConverterLocator and let it
 return the IConverterLocator instance you want.

http://cwiki.apache.org/WICKET/migrate-13.html states this btw. In
case you run into other things, you might want to consult that WIKI
page.

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Karen Schaper
Thanks for pointing out this reference.  Sorry though I should have been
able to find this myself.

I appreciate the help.

Karen

 -Original Message-
 From: Eelco Hillenius [mailto:[EMAIL PROTECTED]
 Sent: Saturday, January 12, 2008 6:54 PM
 To: users@wicket.apache.org
 Subject: Re: IConverterLocatorFactory no longer exists?


 On Jan 12, 2008 3:52 PM, Eelco Hillenius
 [EMAIL PROTECTED] wrote:
  Yup, in your application override newConverterLocator and let it
  return the IConverterLocator instance you want.

 http://cwiki.apache.org/WICKET/migrate-13.html states this btw. In
 case you run into other things, you might want to consult that WIKI
 page.

 Eelco

 -
 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]



Re: IConverterLocatorFactory no longer exists?

2008-01-12 Thread Eelco Hillenius
On Jan 12, 2008 5:20 PM, Karen Schaper [EMAIL PROTECTED] wrote:
 Thanks for pointing out this reference.  Sorry though I should have been
 able to find this myself.

No problem. Just mentioned that to save you some time in case you
stumble against more such cases.

Eelco

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]