|
Hi All, I now know why xdoclet is adding
two get/setData methods with the same signature -
but I'm not sure what the work round should be. The problem is that I'm using middlegen
to generate my CMP Bean class and this adds an abstract get/setData
method to the bean class. Xdoclet interprets these as
persistent fields (in entitycmp.xdt) and adds a
getter and setter to the struts form (in struts_form.xdt)
it then sees (in struts_form.xdt) that a data holder
is required and goes onto add another
get/setData method to the struts form. This raises a couple of questions; firstly how can you tell xdoclet that you want a data holder *and* include the appropriate get/setData method in the CMP so that the local interface gets
the get/setData methods added by xdoclet;
if you add an abstract get/setData method as middlegen does then struts_form.xdt
will add two get/setData methods and the resultant
form want compile - this leads to the second question - has this
ever worked? Is it a bug? If so, should I (or someone else) be looking at
updating struts_form.xdt. Jon Ridgway The contents of this email are intended only for the named addressees and may contain confidential and/or privileged material. If received in error please contact UPCO on +44 (0) 113 201 0600 and then delete the entire e-mail from your system. Unauthorised review, distribution, disclosure or other use of this information could constitute a breach of confidence. Your co-operation in this matter is greatly appreciated. |
- [Xdoclet-user] Re: XDcolet generated Struts ActionForms Jon.Ridgway
- [Xdoclet-user] Re: XDcolet generated Struts ActionForm... Jon.Ridgway
- Re: [Xdoclet-user] Re: XDcolet generated Struts Ac... Andrew Stevens
- [Xdoclet-user] struts insert action form has n... Colin Canfield
