Let's extend the form example in wicket-examples with a custom converter. I think your InternetAddressConverter could make a nice example, right?

Eelco

Gili wrote:


I'd like to discuss this issue online with one of you, preferrably over MSN, AOL, or Yahoo messenger.


I am using BoundCompoundPropertyModel so if I understand you correctly then the conversion should be automatic. I provided my own converter, which I register using:

Converter converter = (Converter) getConverter();
converter.set(InternetAddress.class, new InternetAddressConverter());

from within the Form. Aside from that, what else could be going wrong?

Gili




-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to