Hi all,

I'm running into a problem when using xdoclet to create Struts ActionForms:

I have a class which has a java.util.SortedSet as an instance variable
(with getters and setters). The class has the following xdoclet tag:
@struts.form extends="BaseForm" include-all="true"

However, in the created form, there are two methods which look like this:

    {
        return this.logEntries;
    }

   /**

    */

    {
        this.logEntries = logEntries;
    }

These methods clearly miss a header. It should read:
  public java.util.SortedSet getLogEntries()
   {
        return this.logEntries;
    }

   /**

    */

   public void setLogEntries(java.util.SortedSet logEntries)
    {
        this.logEntries = logEntries;
    }

Am I overlooking something or is it that xdoclet struts doesn't work
well with java.util.SortedSet objects? It does work with
java.util.Set, which I'm using in several other classes.

thanks for your attention,
Ilja


-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
xdoclet-user mailing list
xdoclet-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to