Henri,
I created a JIRA issue for this (XDT-1158) and just now applied your patch. The latest in CVS now has the portlet-class attribute.
Thanks for the enhancement... Craig
henri wrote:
first time i try and add anything to the xdoclet project. not sure where to send this
(and i didn't see any portlet module entries in jira). please let me know if i should post this
somewhere else
Using portlets with struts. turns out that the <portlet-class> value in the portlet.xml file does
not match the class that contains the @portlet.portlet tag.
attached is a 4 line fix to add an optional "portlet-class" attribute. (patch as of CVS today) and
the updated tags.xml file.
henri
------------------------------------------------------------------------
Index: modules/portlet/src/xdoclet/modules/portlet/resources/portlet_xml.xdt
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/portlet/src/xdoclet/modules/portlet/resources/portlet_xml.xdt,v
retrieving revision 1.4
diff -r1.4 portlet_xml.xdt
16a17,20
<XDtClass:ifHasClassTag tagName="portlet.portlet" paramName="portlet-class">17a22
<portlet-class><XDtClass:classTagValue tagName="portlet.portlet" paramName="portlet-class"/></portlet-class>
</XDtClass:ifHasClassTag> <XDtClass:ifDoesntHaveClassTag tagName="portlet.portlet" paramName="portlet-class">
</XDtClass:ifDoesntHaveClassTag>Index: modules/portlet/src/META-INF/xtags.xml
===================================================================
RCS file: /cvsroot/xdoclet/xdoclet/modules/portlet/src/META-INF/xtags.xml,v
retrieving revision 1.2
diff -r1.2 xtags.xml
56a57,65
<parameter type="text">
<name>portlet-class</name>
<usage-description>
The class that should be used for the <portlet-class> tag. Used for struts-based portlets where your Action class is not directly called by the porlet container.
</usage-description>
<mandatory>false</mandatory>
</parameter>
------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user