The following comment has been added to this issue:
Author: Neal Sanche
Created: Sat, 9 Aug 2003 3:54 PM
Body:
Yes, I think you are correct. What it effectively does is revert to the behaviour of
the 1.10 CVS version of the file. This suits my needs, however I believe it breaks the
earlier patch's intent to allow any JavaBean to be used, even if the fields aren't
persistent. I think more thought should go into that functionality instead of breaking
the semantics for anyone using it with EJBs.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-577
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-577
Summary: @struts.form include-all="true" changes break dataobject task
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Apache Module
Versions:
1.2 Beta 3
Assignee: xdoclet-devel (Use for new issues)
Reporter: Neal Sanche
Created: Sun, 27 Jul 2003 6:23 PM
Updated: Sun, 27 Jul 2003 6:23 PM
Description:
The new code for making include-all="true" publish all JavaBean properties of an EJB
breaks the dataobject task because the getData and setData methods of the EJB (if they
are included in the bean, which I've been doing a lot lately) causes two copies of the
methods to be included in the *Form.java code generated classes. Previously only CMP
accessor methods were being included, so the setData and getData methods were being
ignored.
It might be better to also allow the older functionality by creating another tag
property, like:
@struts.form include-cmp="true"
This would allow those of us who are using the @struts.form tag to generate Form
objects for EJBs to do so without explicitly tagging all of the properties. And it
would also be clear that include-all includes everything, and include-cmp would only
include the CMP accessors.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel