Hi, I want to use xdoclets to generate all derived forms and data from a single set of plain-old-java-beans. The data I want is the hibernate descriptors and schema (easy) and struts forms and validators (not so easy).
The problem is that to generate form-data the bean has to implement ActionForm, which I don't want to do as these are model-beans and destined to be hibernated. It seems to me that I should be able to generate DynaActionForms and their validators from POJBs. One workaround I've found is to pretend that the POJB is an EJB and generate a concrete ActionForm that can then be processed as a doclet to generate the struts config, but I haven't found a method processing the validation information in the original bean. Any tips on how to do this would be appreciated, or if what I'm doing is fundamentally wrong I'd be happy to take advise there to :) Cheers, Steve -- Steve Smith | "I still say using Monopoly tokens Vislab, University of Sydney | in a game of Risk violates the | Geneva convention." - Roadkill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user