how do i get members of DynaActionForm inside Action Class

2004-06-22 Thread Asim Ghosh
hi guys, if somebody can give me the solution to this problem. i am using DynaActionForm and now i want to retrieve the value of a particular field. in execute method i have the reference of ActionForm. asim - ALL-NEW Yahoo! Messenger

RE: how do i get members of DynaActionForm inside Action Class

2004-06-22 Thread Matthias Wessendorf
execute(...){ DynaActionForm myForm = (DynaActionForm) form; myForm.get(property); Cheers, -Original Message- From: Asim Ghosh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 11:30 AM To: [EMAIL PROTECTED] Subject: how do i get members of DynaActionForm inside Action

RE: how do i get members of DynaActionForm inside Action Class

2004-06-22 Thread Robert Taylor
DynaActionForm theForm = (DynaActionForm) form; String myValue = (String) theForm.get(myValueName); robert -Original Message- From: Asim Ghosh [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 22, 2004 5:30 AM To: [EMAIL PROTECTED] Subject: how do i get members of DynaActionForm inside

Re: how do i get members of DynaActionForm inside Action Class

2004-06-22 Thread Bill Siggelkow
In your execute() method: DynaActionForm myForm = (DynaActionForm) form; String foo = (String) myForm.get(foo); String bar = (String) myForm.get(bar); Asim Ghosh wrote: hi guys, if somebody can give me the solution to this problem. i am using DynaActionForm and now i want to retrieve the