RE: Sharing Fields Between 2 Forms

2004-07-22 Thread Wiebe de Jong
Create one field and attach to the first form. Create a second field identical to the first, but hidden, and attach it to the second form. Have some javascript attached to the first field that copies the contents of the first field to the second field whenever a change is made. Wiebe -Origin

Re: Sharing Fields Between 2 Forms

2004-07-22 Thread atta-ur rehman
hi, yes it's possible if both the form classes are inherited from the same base class that has the common field getter/setter defined in it. but why not have the same field in the both the forms? won't it be easier? ATTA On Thu, 22 Jul 2004 18:11:31 +0100, Ciaran Hanley <[EMAIL PROTECTED]> wrot

RE: Sharing Fields Between 2 Forms

2004-07-22 Thread Jim Barrows
> -Original Message- > From: Ciaran Hanley [mailto:[EMAIL PROTECTED] > Sent: Thursday, July 22, 2004 10:12 AM > To: Struts User Mailing List > Subject: Sharing Fields Between 2 Forms > > > Hello, > > > > Is it possible for forms to share a common field? > > I have two forms on a p