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 12:55:37 GMT


>Now, when I have more than one object in a detailed view - and therefore
>have more than one form - and I click a button I have to make sure that the
>right form gets submitted or I will get the wrong data... And so far I only
>ever got the data of the very first form in the page at that moment.
>
>Is that more understandable now?
>
I hope :)
So, you have lotsa objects on you page:
Object 1
<form action...>
fafa
<html:submit...>
<html:hiddend property="id" value="<%=object.getId()%>"/>
</form>

Object 2
<form action...>
fafa
<html:submit...>
<html:hiddend property="id" value="<%=object.getId()%>"/>
</form>

And so on. If i make it out correctly. Thus, when you push some of the submit buttons correspondent
object data gets submitted.

wbr, eugen.

>
>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