- This topic has 3 replies, 2 voices, and was last updated 20 years, 1 month ago by mika.
-
AuthorPosts
-
mikaMemberHi,
We’re generating the strutsconfig.xml with xdoclet. Since MyEclipse’s Struts editor puts XDoclet tag into the generated Struts action classes, I’m using it to create the “skeletons”.
The Problem:
The name attribute of the XDoclet tag generated for struts action-forwards is wrong; the forward tag is generated like this:@struts:action-forward name="/someForwardAction.do" path="/someForwardAction.do"
instead of:
@struts:action-forward name="forwardName" path="/someForwardAction.do"
I think, it’s somewhere in a template for new Action classes, so I’d appreciate if you could point me to that template; otherwise I have to adjust all the tag by hand.
Thanks in advance,
mika
support-michaelKeymasterThis is definitely bug that will be fixed in next week’s 3.8.2 release. I just updated the codebase with a fix. Note that we do plan to expose all templates for user customization. But I don’t know the priority for this capability at this time.
mikaMemberHi again!
First, sorry about my incomplete posting… next time I’ll use the “Insert” button and provide all the infos.
Second, I’ve noticed further problems with the XDoclet tag generation. When just creating a new action using the wizard without specifying a form not even the the path-attribute (xdoclet) is created. I suppose it’s all about the templates… ?!
BTW: I’m running eclipse 3.0 / me 3.8.1+QF20040825 on Linux (gtk2).
Cheers,
mika
mikaMemberHi again!
First, sorry about my incomplete posting… next time I’ll use the “Insert” button and provide all the infos.
Second, I’ve noticed further problems with the XDoclet tag generation. When just creating a new action using the wizard without specifying a form not even the the path-attribute (xdoclet) is created. I suppose it’s all about the templates… ?!
BTW: I’m running eclipse 3.0 / me 3.8.1+QF20040825 on Linux (gtk2).
Cheers,
mika -
AuthorPosts