Ah, so I finally figured it out.  I forgot to spill the blood of a chicken
across my keyboard before compiling!

Actually, the solution to the problem was to set the "@struts:action name" of
the target action to the same name as the one generated in the name tag of
the form.

Who would have known?!? :)

But if you understand this stuff better than I do, you can imagine what was
happening.  

So, if you are having problems with your own forms, trust me, set the name of
the form in this manner.  

Write me directly if you need clarification and I'll see what I can do to
explain it better.

-b

> -----Original Message-----
> From: Brian Topping 
> Sent: Tuesday, June 18, 2002 6:11 PM
> To: [EMAIL PROTECTED]
> Subject: [Xdoclet-user] generated name in <strutsform/>
> 
> 
> Howdee!!
> 
> So I am wondering if there is any way to tweak the name of a 
> form that is
> generated by <strutsform/>.  I see the "pattern=..." attribute for the
> ejbdoclet task, and that seems to change the filename of the form.  
> 
> I don't care so much about the filename of the form, I'm more 
> interested in
> the "@struts:form name=..." tag that is generated into the form.
> 
> Is there any way to specify it?
> 
> I see in the template that it simply generates from the
> XDtStrutsForm:strutsFormName, but how/where is that set inside the
> <strutsform/> tag?  
> 
> For instance, in my bean, I say "@struts:form name=\"Full\"", but the
> generated tag in the form still comes out to be "@struts:form
> name=\"com.bill2.ejb.Customer.Full\"".
> 
> If I change the tag in my bean to "@struts:form
> name=\"com.bill2.ejb.Customer.Full\"", the form doesn't get 
> generated at all.
> 
> Any ideas?
> 
> Thanks!!
> 
> -b
> 
> _________________________________________________________ 
> If you have some ice cream, I will give it to you. 
> If you have no ice cream, I will take it away from you. 
>          - Ice Cream Koan
> 
> 
> --------------------------------------------------------------
> --------------
>                    Bringing you mounds of caffeinated joy
>                    >>>     http://thinkgeek.com/sf    <<<
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 

----------------------------------------------------------------------------
                   Bringing you mounds of caffeinated joy
                   >>>     http://thinkgeek.com/sf    <<<

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to