Re: Using Form Bean & Java Bean....

2003-09-23 Thread Mick Knutson
I have a DynaActionForm that has several DTO's in an Array:







Works great.

---
Thanks
Mick Knutson
http://www.baselogic.com

+001(805) 563-0666 Office
+001 (708) 570-2772 Fax
---

- Original Message - 
From: "Rajanala, Srinivas" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 4:04 PM
Subject: Using Form Bean & Java Bean


>
> Hi,
>
> Can I use both Form Bean & Java Bean inside a html:form?
> I have ManageProfileBean(java bean) which has availRoles and
> ManageProfileForm(Form bean) which has securityRoles. I need to iterate
> through availRoles and display it as checkbox. When the user selects one
or
> more check boxes the data should get populated in the securityRoles of the
> form bean.
> I am trying to use the following code:
> 
>
>
> Security Roles
>
> type="com.qwest.omt.bean.ManageProfileBean.availRoles">
>   
>   
>   
>   
>   
> 
>
>
> In the following code, I am trying to use availDepts from the
> ManageProfileBean(Java Bean) and
> department from the ManageProfileForm(Form Bean).
>
>
> 
>   
> 
> 
>   
>  
>   
> 
>   
>   
>
>
>
> Is it a correct? I appreciate your suggesions.
>
> Thanks,
> Srini
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

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



Using Form Bean & Java Bean....

2003-09-23 Thread Rajanala, Srinivas

Hi,

Can I use both Form Bean & Java Bean inside a html:form?
I have ManageProfileBean(java bean) which has availRoles and
ManageProfileForm(Form bean) which has securityRoles. I need to iterate
through availRoles and display it as checkbox. When the user selects one or
more check boxes the data should get populated in the securityRoles of the
form bean.
I am trying to use the following code:
 


Security Roles
   
   
  
  
  
  
  



In the following code, I am trying to use availDepts from the
ManageProfileBean(Java Bean) and
department from the ManageProfileForm(Form Bean). 



  


  
 
  

 
  
   


Is it a correct? I appreciate your suggesions.

Thanks,
Srini

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