Hello Nadja,

  

***************************************************************

NS> Hello Dirk,

>> something like:
>>
>><html:form action="change" >
>> <html:text property="name" />
>> <html:submit property="f1a" >Senden A</html:submit>
>> <html:submit property="f1b" >Senden B</html:submit>
>> <html:submit property="f1c" >Senden C</html:submit>
>></html:form>
>>
>><html:form action="change" >
>> <html:text property="name" />
>> <html:submit property="f2a" >Senden A</html:submit>
>> <html:submit property="f2b" >Senden B</html:submit>
>> <html:submit property="f2c" >Senden C</html:submit>
>></html:form> 

NS> But then I would still have to be looking for "f2a" in the request, won't
NS> I? And that I could do that would mean that I'd know already which form
NS> should've been submitted and/or which forms or how many existed on page at
NS> all.

NS> This is what my forms look like at the moment (just with more and different
NS> data for each object...):

NS> <html:form action="change" >
NS>  <html:text property="name" />
NS>  <html:submit property="fa" >Senden A</html:submit>
NS>  <html:submit property="fb" >Senden B</html:submit>
NS>  <html:submit property="fc" >Senden C</html:submit>
NS> </html:form>

NS> <html:form action="change" >
NS>  <html:text property="name" />
NS>  <html:submit property="fa" >Senden A</html:submit>
NS>  <html:submit property="fb" >Senden B</html:submit>
NS>  <html:submit property="fc" >Senden C</html:submit>
NS> </html:form>

I set up a test jsp like above and I get values from form 2, if I
click any button of form 2 (and vice versa). I guess either your
struts-config or your action form is not correct.


NS> That allows me to look for "fa" in the request to find out whether it has
NS> been set/pressed or not.

NS> Greetings,
NS> Nadja

NS> ---------------------------------------------------------------------
NS> Nadja  Senoucci
NS> Universitaet Hamburg
NS> Zentrum f�r Molekulare Neurobiologie
NS> Service-Gruppe EDV
NS> Falkenried 94
NS> 20251 Hamburg
NS> Germany
NS> Tel.:040 - 428 - 03 - 6619
NS> Fax.:040 - 428 - 03 - 6621


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



Regards,
Dirk

+------- Quality leads ---------------------------------------+
| Dirk Markert                     [EMAIL PROTECTED] |
| Dr. Markert Softwaretechnik AG                              |
| Joseph-von-Fraunhofer-Str. 20                               |
| 44227 Dortmund                                              |
+---------------------------------->>>>>>> to success! <<<<<<-+ 


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

Reply via email to