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
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
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
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
4 matches
Mail list logo