current trunk and custom ValidationListenerFactory

  5 posts   Feedicon  
Replies: 4 - Last Post: March 26, 2010 22:41
by: hugoheden
showing 1 - 5 of 5
 
Posted: March 13, 2010 21:46 by mkleint
Hello,

I've tried implementing a custom ValidationListenerFactory and I'm facing some problems. The VLF.Cast class creates proxy validationListeners. Unfortunately when the proxy is assigned parentValidationgroup, there is not way to assign the parent to the proxied real validationItem. That item therefore never gets assigned a parent and never propagates it's problems to the enclosing ValidationGroup/ValidationUI. setParentValidationGroup is final, unfinalizing is the only way I can see to have the proxied validationItem assigned proper parent.

Is there something I've missed?

Milos Kleint

 
Posted: March 14, 2010 08:38 by mkleint
I've filed this issue: http://kenai.com/jira/browse/SIMPLEVALIDATION-40
 
Posted: March 19, 2010 22:21 by Tim Boudreau
I saw a commit from you - related?

BTW, your user photo is quite scary, Milosi Smile

-Tim
 
Posted: March 22, 2010 12:04 by mkleint
the commit fixed another issue. I have a"fix" for this one locally, but it involved infinalizing the setter method, that's why I didn't apply it. Maybe it can be fixed in a better way, but honestly I don't understand much of the generics type magic happening there..

 
Posted: March 26, 2010 22:41 by hugoheden
Hi Milos,

I'll try to take a look at this ... soonish..! I haven't looked at the code for a long time (since Tim's latest merge), and I'm not sure I'll be able to understand it either Smile but I'll look at it. Thanks for being careful with un-finalizing that method.. hopefully there's another way.

Replies: 4 - Last Post: March 26, 2010 22:41
by: hugoheden
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close