Okay, you missed the message I sent out a few days ago regarding this. I've patched XDoclet to allow you to specify your DynaForm configs as XDoclet tags. An example:
/** @struts.dynaform name="testForm" type="org.example.form.BaseDynaForm" */ public class Test { /** * @struts.dynaform-field name="id" type="java.lang.Long" initial="0" */ // and so on..... } I'm thinking about having it detect the 'type' attribute, but I haven't had time yet. Here's the original post: http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=89738 If you'd like to download it, you can get it here: http://www.systemmobile.com/code/xdoclet-apache-module-sm-1_2b4.zip On Tue, Sep 30, 2003 at 02:54:01PM -0400, Chen, Gin wrote: > For starters: > > If you have a dynaform defined like so: > > <form-bean name="searchForm" type="com.foo.ui.form.SearchForm"> > <form-property name="userName" type="java.lang.String"/> > </form-bean> > > You have to define the above in the merge file and then define the java > supporting class with no Xdoclets tag. > I would much perfer to be able to do: > > /** > * @struts.form name="searchForm" > * @struts.property name="userName" type="java.lang.String" > */ > In my java class and have it auto generate the above merge xml. > > The whole tiles support in Xdoclet could be more robust as well. > -Tim > -- Nick Heudecker SystemMobile, Inc. Email: [EMAIL PROTECTED] Web: http://www.systemmobile.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]