Hi,
the code did not work that way , so what i did is the
following
DynaValidatorForm PL1820DeleteForm =                  
     (DynaValidatorForm)
DynaActionFormClass.getDynaActionFormClass(
                                        
"PL1820DeleteForm").newInstance();

           PL1820DeleteForm.set("input1","This is
test");
and it works now

--- Rick Reumann <[EMAIL PROTECTED]> wrote:
> 
> 
> On Friday, January 17, 2003, 12:14:40 PM, Ashish
> wrote:
> 
> AK> Hi, What i am trying to do it the following, I
> have a
> AK> DispatchAction class which is called from a jsp
> ( and passed user)
> AK> then i need to popluate a Bean (Action or Dyna)
> and put it in
> AK> request and pass it to jsp, so the jsp will
> display using taglib
> AK> I have defined a form-bean in struts-config.xml
> file and want to
> AK> use the same structure and create a dynamic bean
> instead of
> AK> defining a bean My form-bean defination is as
> follows <form-bean
> AK> name="PL1820UpdateForm" dynamic="true"
> AK>
>
type="org.apache.struts.validator.DynaValidatorForm">
> AK> <form-property name="input1"
> type="java.lang.String"
> />>
> AK> </form-bean>
> 
> AK> So how do i poplate it in my DispatchAction and
> pass
> AK> it to jsp
> 
> Like I mentioned yesterday, in your DispatchAction
> you could just do
> 
> DynaActionForm f = (DynaActionForm)form;
> f.set("input1","whateverValueYouWant");
> 
> 
> 
> 
> 
> AK> =====
> AK> A$HI$H
> 
> AK>
> __________________________________________________
> AK> Do you Yahoo!?
> AK> Yahoo! Mail Plus - Powerful. Affordable. Sign up
> now.
> AK> http://mailplus.yahoo.com
> 
> AK> --
> AK> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> AK> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> 
> 
> -- 
> 
> Rick
> mailto:[EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 


=====
A$HI$H

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to