Message: A new issue has been created in JIRA.
--------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-396 Here is an overview of the issue: --------------------------------------------------------------------- Key: XDT-396 Summary: struts_config_xml_xdt doesn't support DispatchActions Type: Bug Status: Assigned Priority: Minor Time Spent: Unknown Estimate: 0 minutes Project: XDoclet Component: Apache Module Versions: 1.2 Beta 2 Assignee: xdoclet-devel (Use for new issues) Reporter: David Chisholm Created: Thu, 20 Mar 2003 4:28 PM Updated: Thu, 20 Mar 2003 4:28 PM Environment: Windows XP, JDK 1.4.1.01, Ant 1.5.1 Description: I am unable to get the struts module to generate an action mapping for Actions that extend the Struts DispatchAction. I had to duplicate the xdt's action-mapping section and explicitly select classes of type org.apache.struts.actions.DispatchAction. This is very strange given that DispatchAction extends Action. In my system, I have classes that extend a custom BaseAction which in turn extends Action. The struts module worked fine on these classes. I also have classes that extend a custom BaseDispatchAction which in turn extends DispatchAction, and the struts module does not recognize these classes. I changed the classes to extend DispatchAction directly and had the same result. I changed the classes to extend Action, and it *worked*. Once I customized the xdt, and added a section for DispatchAction, the struts module worked with the classes that extended my custom BaseDispatchAction. Btw, I was happy to discover that I could enter several @struts.action tags in my DispatchAction classes, and the struts module would generate an action mapping for each - a very convenient result for dispatch actions. Thank you very much! --------------------------------------------------------------------- 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/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 is sponsored by: Tablet PC. Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en _______________________________________________ xdoclet-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-devel
