Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts Users »

RE: Form with a Form

Ramadoss Chinnakuzhandai

2003-12-08

Replies:

Hi,
    If at all I can use JavaScript in Struts...pls guide me how can I implement the same

Tnx in Advace,

-Ramadoss


-----Original Message-----
From: Ajay Kalidindi [mailto:AKalidi@(protected)]
Sent: Monday, December 08, 2003 1:40 PM
To: Struts Users Mailing List
Subject: RE: Form with a Form


I have a suggestion.

You can add a HIDDEN field, write a java script on click of multiple buttons
Like "ADD", "DELETE", "EDIT", "RENAME" buttons.

What the java script will do is update HIDDEN variable and submit.

I have not come across form within a form in HTML.

Regards

Ajay Kalidindi

-----Original Message-----
From: Ramadoss Chinnakuzhandai [mailto:rchinnakuzhandai@(protected)]
Sent: Monday, December 08, 2003 10:17 AM
To: struts-user@(protected)
Subject: Form with a Form


Hi,
      Can we define a form within a form...if so can you guide me .

Actually in my jsp I wanted to perform two different action with respect to button pressed.....so If I define global form I can only submit the global action defined in that form but I wanted to submit different action with respect to different button clicked so in that case I'm going for two different form....plz set me if I'm wrong.. possible pls provide me how can I achieve the same.

Tnx in advance,
Ramadoss




---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@(protected)
For additional commands, e-mail: struts-user-help@(protected)



©2008 junlu.com - Jax Systems, LLC, U.S.A.