The following comment has been added to this issue:
Author: Arjan Molenaar
Created: Mon, 14 Feb 2005 1:17 AM
Body:
Indeed it looks like a typo on my behalf. I'm sorry for the inconvenience.
Thanks anyway.
---------------------------------------------------------------------
View this comment:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1262?page=comments#action_15972
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/browse/XDT-1262
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-1262
Summary: Inconsistent behavior: 'struts:' vs 'struts.'
Type: Bug
Status: Open
Priority: Minor
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Apache Module
Versions:
1.2.2
Assignee: xdoclet-devel (Use for new issues)
Reporter: Arjan Molenaar
Created: Fri, 4 Feb 2005 2:09 AM
Updated: Mon, 14 Feb 2005 1:17 AM
Environment: Win32, XDoclet 1.2.2 on Eclipse 3.0 (using Eclipse's Ant).
Description:
I noticed some inconsistency while using @struts tags.
E.g.
**/
*
* @struts:action path="/saveService" scope="request" name="serviceForm"
input="input"
* @struts:action-forward name="success" path="/listservices.jpt"
* @struts:action-forward name="input" path="/editService.do"
*/
public final class SaveServiceAction extends GenericSaveAction
{
...
}
Generates the following struts-config XML:
<action
path="/saveService"
type="nl.yirdis.brainz.web.actions.SaveServiceAction"
name="serviceForm"
scope="request"
input="input"
unknown="false"
validate="true"
>
<forward
name="success"
path="/listservices.jpt"
redirect="false"
/>
<forward
name="input"
path="/editService.do"
redirect="false"
/>
</action>
Which is good, but if I use struts. (dot) instead of the semicolon notation I
get
<action
path="/saveService"
type="nl.yirdis.brainz.web.actions.SaveServiceAction"
name="serviceForm"
scope="request"
input="input"
unknown="false"
validate="true"
>
<forward
name="success"
path="/listservices.jpt"
redirect="false"
/>
</action>
Instead. Only the first action forward is generated.
The Hibernate xdoclet mappings for example behave well when using '@hibernate.'.
---------------------------------------------------------------------
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
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel