struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eugen Bushuev ...@lucky.net>
Subject Re: Question about the form tag
Date Wed, 16 Jul 2003 11:57:56 GMT
Hi.
Add a hidden field with the name to every form which will identify it.


Nadja Senoucci wrote:

>Hello everyone,
>
>I have two or more forms on one page, but actually they are all the same
>forms, just with different values in them (it's all about one hidden field
>and a few checkboxes, really). Now, these forms all have the same
>action-mapping, since they are basically the same. When I press a button
>now, it doesn't recognize which form it belonged to and just takes the
>first one... Is there a way to find out which form's button has been
>pressed? I thought maybe giving the form a name would help but that doesn't
>seem to be possible with the form tag...
>
>Any ideas?
>
>Greetings,
>Nadja
>
>---------------------------------------------------------------------
>Nadja  Senoucci
>Universitaet Hamburg
>Zentrum für Molekulare Neurobiologie
>Service-Gruppe EDV
>Falkenried 94
>20251 Hamburg
>Germany
>Tel.:040 - 428 - 03 - 6619
>Fax.:040 - 428 - 03 - 6621
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org
>
>
>  
>

-- 
? ?????????, ?.??????.



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


Mime
View raw message