You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kommineni, Sateesh (IndSys)" <Sa...@geind.GE.com> on 2003/08/06 09:09:53 UTC

ActionForm Initialization

Hi All,

    Which class in the Framework initializes the ActionForms specified in
the XML Config files..

    When we declare an ActionForm for an Action, the Framework will
automatically sets the values in the from submitted using the form and calls
the validate() method . But which class in the Framework does this..

Thanks in Advance
Sateesh 


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this 
communication is strictly Prohibited. 
If you have received this message by error, please notify us 
immediately, return the original mail to the sender and delete the 
message from your system."


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


RE: ActionForm Initialization

Posted by Andrew Hill <an...@gridnode.com>.
RequestProcessor has a processPopulate method to init form fields in the
action form based on request parameters (though it actually delegates to
RequestUtils class to do the real work).

the processActionForm() method in RP is resposible for finding or
instantiating the action form instance based on your config and the current
mapping.

-----Original Message-----
From: Kommineni, Sateesh (IndSys)
[mailto:Sateesh.Kommineni@geind.GE.com]
Sent: Wednesday, 6 August 2003 15:10
To: struts-user@jakarta.apache.org
Subject: ActionForm Initialization



Hi All,

    Which class in the Framework initializes the ActionForms specified in
the XML Config files..

    When we declare an ActionForm for an Action, the Framework will
automatically sets the values in the from submitted using the form and calls
the validate() method . But which class in the Framework does this..

Thanks in Advance
Sateesh


"THIS E-MAIL MESSAGE ALONG WITH ANY ATTACHMENTS IS INTENDED ONLY FOR THE
ADDRESSEE and may contain confidential and privileged information.
If the reader of this message is not the intended recipient,
you are notified that any dissemination, distribution or copy of this
communication is strictly Prohibited.
If you have received this message by error, please notify us
immediately, return the original mail to the sender and delete the
message from your system."


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


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