Good catch! I'll wait on the bugfix, hopefully it'll solve the problem.

Gili

Eelco Hillenius wrote:
Yeah, found a problem when I stepped all the way through...

In CompoundPropertyModel:

   protected Class propertyType(final Component component)
   {
       return null;
   }

This can't be right...

Unfortunately, I'm out of time here. But I'll file a bug, and check in my examples code.

To be continued...

Eelco


Gili wrote:


The problem seems to be specific to InternetAddress. URL works fine for me too. I suspect OGNL has some sort of built-in handling for URL which is why it is working.


Please try InternetAddress on your end. Just download the JavaMail JAR, pop it in and replace "URL" by "InternetAddress".

Gili

Eelco Hillenius wrote:

I just implemented URL converter here, and it works without problems... I still don't know what your problem is now.

Anyway, I'll make the example a bit nicer and commit it later. Could you see whether your problem still exists in HEAD, and, if so, whether you have the same problems if you use URL instead of InternetAddress (just for the test)?

Eelco

Eelco Hillenius wrote:

Here's my first remark: instead of:

     catch (AddressException e)
     {
       throw new IllegalArgumentException(e);
     }

do:

catch (AddressException e)
{
throw newConversionException("'" + value + "' is not a valid URL", value, null);
}


or anything else that throws a conversion exception. By doing this, it will be displayed as an error in your feedback panel instead of a stacktrace on your screen.

Eelco



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







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





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





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





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