pass the formbean name at run time change the logic It works for me:)

-----Original Message-----
From: Parvat Singh Ranawat [mailto:[EMAIL PROTECTED]
Sent: Monday, July 31, 2006 11:32 PM
To: user@struts.apache.org
Subject: two form one jsp


Hi all,

I'm attempting to create a JSP that is made up of two forms.  Each
form needs a same  form bean and is processed by a same
action.  The catch is that the one form comes from Header (This will be
there for all the pages as part of left panel )

 and second is coming from my jsp  and  problem occures while calling JAVA
SCRIPT

ie
1) if I use document. form[0]  then this always points to the first form
(which is there in Header)
2) if I use document.formName
 then there is ambiguity which form to call.

so how to work in this situation


Thanks

Shakti
Notice:  All email and instant messages (including attachments) sent to
or from Franklin Templeton Investments (FTI) personnel may be retained,
monitored and/or reviewed by FTI and its agents, or authorized
law enforcement personnel, without further notice or consent.

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

Reply via email to