You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Ashish Bansal <ba...@yahoo.com> on 2003/03/03 22:40:54 UTC

[internals] Accessign ActionForm class from within tag

Hi!
I am looking at extending some of the struts provided html/form tags.
The requirement is to find out the ActionForm class which holds the
data for the form tag being generated [within
BaseField/Input/HandlerTag or lowever levels] as the doStartTag()
method is being processed.
How do I get to this information? 
I tried researching on how ActionServlet would do and followed upto the
RequestProcessor class, which uses RequestUtils with a bunch of inputs
(mapping, moduleconfig, amongst others) to figure out the name of the
class and constructs an object real time.
Some of these inputs are available to the tag via RequestUtils. Some
are not, for ex mapping. 
Looking for help on how to obtain this information.... Maybe there are
other ways of reaching this information...
Looking forward to responses!
-ashish

=====

 Ashish Bansal 
My Home Page



---------------------------------

To err is human. To forgive is against company policy. 


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org