Hi Mike,

Best would be to get current CVS checkout, work in your changes and make a
diff. I can put this back into the CVS then.

Or feel free to become a dbforms developer!


Cheers,
Henner
 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im 
> Auftrag von Michael Stadler
> Gesendet: Donnerstag, 6. Januar 2005 13:31
> An: jdbforms-interest@lists.sourceforge.net
> Betreff: [dbforms] Multiple Validation Exception Support repaired
> 
> Dear Developers,
> 
> sometimes after release 1.1.3 the multiple validation 
> exception support of dbforms was apparently lost. I.e. 
> instead of throwing multiple validation exceptions that could 
> be handled by the xmlErrors tag, SQLExceptions were thrown 
> and it was no longer possible to correctly display errors.
> 
> In my own codebase (release 2.4), I visited the code and 
> correted the portions responsible for handling the multiple 
> validation exceptions. Surely I would like to contribute this 
> to the project so that the corrections will show up in the 
> next release. However, I have no idea at all, how the 
> procedure for this is.
> 
> I changed following files:
> 
> src/org/dbforms/config/Table.java -- adapted method 
> processInterceptors to throw MultipleValidationExceptions 
> src/org/dbforms/event/datalist/UpdateEvent.java -- method 
> processEvent now throws MultipleValidationExecption 
> src/org/dbforms/event/datalist/InsertEvent.java -- method 
> processEvent now throws MultipleValidationExecption 
> src/org/dbforms/event/datalist/DeleteEvent.java -- method 
> processEvent now throws MultipleValidationExecption 
> src/org/dbforms/event/classic/UpdateEvent.java -- method 
> processEvent now throws MultipleValidationExecption 
> src/org/dbforms/event/classic/InsertEvent.java -- method 
> processEvent now throws MultipleValidationExecption 
> src/org/dbforms/event/classic/DeleteEvent.java -- method 
> processEvent now throws MultipleValidationExecption
> 
> Cheers
> 
> -Mike-
> 
> 
> -------------------------------------------------------
> The SF.Net email is sponsored by: Beat the post-holiday blues 
> Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
> It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
> _______________________________________________
> DbForms Mailing List
> 
> http://www.wap-force.net/dbforms
> 



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
DbForms Mailing List

http://www.wap-force.net/dbforms

Reply via email to