Tim,

> From: Tim Christopher [mailto:[EMAIL PROTECTED]
> What does everyone think of using XDoclet to build
> Struts / Tiles / Validator configuration files?

I like using XDoclet for creating the struts-config.xml file.  For permanent
items that are not in your .java files or which need to be constant, XDoclet
allows for "merge" files for each section with obvious names such as
struts-forms.xml, global-exceptions.xml, struts-actions.xml and
struts-controller.xml.

On using XDoclet to create tiles, to my knowledge it cannot be done.  Please
post any URLs since my quick web search pulled up nothing (for me) that
seemed relevant.

Finally, I have some personal issues with the XDoclet's support for Struts
validation files.  If you map one .java file to multiple paths such as
"/edit" and "/create", the XDoclet validation considers all validation rules
in that .java class file to be for ONE form validation. You can't say some
rules to go one path for this action class while some rules go to the other
path for this same action.  It is best in that case for validation for
ActionForms/beans only.

Regards,
David


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to