Hi!
Im new to Castor, but is fascinated with the combination of JDO and the
XML databinding framework.
I have generated java sources files from a xml schema including the
class descriptors.
My question in on the FieldValidator. It seams to me that validation is
only performed on marshaling and unmarshaling, or if calling the
isValid() method. is that correct?
I wonder if I can use the validation - when receiving input from an html
form using a servlet - to validate the input, before storing/receiving
it in/from a db using JDO?
What about having a exception thrown when trying to set a value to a non
valid value. Like:
Invoice invoice = new Invoice();
Customer customer = new Customer();
customer.setName("1212"); <-- here an exception
should/could be thrown, if the Name is required to be of type String
without numbers.
Is that possible?
ps! When will there be a new official release?
Regards, Niels Peter
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev