RE: Form populate

2004-02-05 Thread Namasivayam, Sudhakar (Cognizant)
it works.. thanks ben regards, sudhakar -Original Message- From: Ben Anderson [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 6:16 PM To: [EMAIL PROTECTED] Subject: RE: Form populate granted your struts-config is setup properly to use your bean and it extends actionForm

RE: Form populate

2004-02-05 Thread Ben Anderson
granted your struts-config is setup properly to use your bean and it extends actionForm, then why don't you just use the reference that is passed in to the execute method? if( form instanceof myForm ){ myForm mf = (myForm)form; mf.setXXX( "Steelers rule" ); } You don't need to worry about

RE: Form populate

2004-02-05 Thread Ramachandran
Form populate var first_name=document.CandidateForm.first_name.value; u have to get the value of the form from jsp like this only -Original Message- From: Namasivayam, Sudhakar (Cognizant) [mailto:[EMAIL PROTECTED] Sent: Thursday, February 05, 2004 6:04 PM To: [EMAIL PROTECTED]