The following comment has been added to this issue:

     Author: Alexander Schwartz
    Created: Sun, 3 Aug 2003 12:50 PM
       Body:
Might also resolve XDT-577
---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-591


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-591
    Summary: StrutsFormTagsHandler: wrong default for include-pk, wrong behaviour of 
include-all
       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: Alexander Schwartz

    Created: Sun, 3 Aug 2003 12:45 PM
    Updated: Sun, 3 Aug 2003 12:45 PM
Environment: Debian 3.0, JDK 1.4.1

Description:
>From xtags.xml: include-pk: Whether to include pk field in form. Default is true. If 
>set to false, individual pk fields can still be included.

The original code does exactly the opposite, it defaults to false. 

>From xtags.xml: include-all: Whether to include all persistent fields in form. 
>Default is false.

The original code includes all fields not only the persistent fields. 

The included patch corrects the behaviour of the program and clarifies the code's 
inline documentation. While browsing the code I also removed an unecessary if() 
statement. This bug in part reopens #XDT-282, see the comments from Luiz-Otavio 
Zorzella in Feb 03 (how can one reopen a bug?)

If someone needs some example code, please send me a note.

Cheers, Alex.


---------------------------------------------------------------------
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

Reply via email to