struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Li <ampyx...@gmail.com>
Subject Re: two form one jsp
Date Tue, 01 Aug 2006 09:31:24 GMT
Hi,

Would it be possible if you can combine two form to one but have two
object behind to accept the dat from form you submit?


On 8/1/06, Krishna, Hari <HKrishn1@templeton.com> wrote:
> pass the formbean name at run time change the logic It works for me:)
>
> -----Original Message-----
> From: Parvat Singh Ranawat [mailto:mailtoparvat@gmail.com]
> 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: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


-- 
When we invent time, we invent death.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message