On Wed, 2004-08-04 at 03:24, Scott Yeadon wrote: > Hello, > > The CForms doco states that custom validators can be written in Java, > however I couldn't find any examples of this. How is the java class > reference set up in the fd:validation element - I tried the java element > (as per listener setup) however this is not recognised.
This is not yet possible, the java element hasn't been implemented yet (though it's no big deal). You can however add java based validators to form instances at runtime, using the addValidator() method of the widgets. -- Bruno Dumon http://outerthought.org/ Outerthought - Open Source, Java & XML Competence Support Center [EMAIL PROTECTED] [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
