AppFuse JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
  • AppFuse
  • APF-85

Incorrect comment in 'struts_form.xdt' adds wrong merge file name to ActionForms

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8
  • Fix Version/s: 1.8.2
  • Component/s: Web - Struts
  • Labels:
    None
  • Environment:
    All

Description

This comment at line 143 in /metadata/templates/struts_form.xdt refers to an incorrect file name for the 'merge file'.

        /* To add non XDoclet-generated methods, create a file named
           actionform-methods-<XDtClass:classOf><XDtActionForm:actionFormClass/></XDtClass:classOf>.java
           containing the additional code and place it in your merge dir.
        */

The prefix 'actionform-methods' should be 'xdoclet-' as below:

        /* To add non XDoclet-generated methods, create a file named
           xdoclet-<XDtClass:classOf><XDtActionForm:actionFormClass/></XDtClass:classOf>.java
           containing the additional code and place it in your merge dir (/metadata/web/).
        */

Also, after any methods are merged in, app gen removes this comment entirely. It would be my preference for the comment to stay in there in case I forget, or when others are trying to figure out my code. I would also prefer to have the actual path for the "merge dir" specified unless there some reason not to.

Activity

  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Source
There are no comments yet on this issue.

People

  • Assignee:
    Matt Raible
    Reporter:
    Eric
Vote (0)
Watch (0)

Dates

  • Created:
    29/Jun/05 1:22 PM
    Updated:
    09/Aug/05 1:25 AM
    Resolved:
    09/Aug/05 1:25 AM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for AppFuse. Try JIRA - bug tracking software for your team.