[daisy] Custom field editor

Valerie Nyre valerie at nyre.de
Wed Jul 23 13:06:48 CEST 2008


Hello Paul

Thank you very much for answering.

My only intention is to specify custom validation rules per custom field.

I want to say that a string must be only 30 characters in length or must 
be a valid e-mail address...

First I though I could just use the Cocoons forms validation (define a 
new forms definition fragment for each custom field) but now I am not 
sure if this is really possible. In my first attempt I first tried to do 
this: Compile this default field editor under a different class name and 
place the class into a JAR. but then a class null pointer exception 
happened. ... I will try it again but I am not sure if there is much 
more to know yet...
Now I am looking at how the ACL editor creates forms binding and I also 
see that the doLoad and doSave methods are required. This is already 
mentioned in the


Thanks again


Valerie











 


More information about the daisy mailing list