struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From as as <>
Subject Re: html:form
Date Mon, 19 Apr 2004 14:34:33 GMT
i guess two submits are the culrpits here then...
then in my second form, how do i implement my fucntionality (wher i want to display a table-
but clicking on the left most element in the table must take it to another page----using javascript????
please advise..

Christian Bollmeyer <> wrote:
On Sunday 18 April 2004 16:30, as as wrote:


>Thanks for the reply. I am submitting both the forsm...

Probably, but where?

>so does only one submitted form end up in the request?


>Here is my code briefly:
> > type="com.PrincipalForm" >   
>       ID #:

This form seems to be more or less ok. Don't know
why you chose over here, but

> > type="com.TeachersForm">   > name="teachers" property="teacher"> 

Now check this part:

>    " property="last" />

Looks pretty mangled to me; wonder if this compiles
at all. IIRC you mentioned complaints about missing
getters. This part most certainly is the culprit.


You can have multiple forms in a page, but only one
of them can be submitted at a time. Therefore, one
usually provides an with each form
declaration. You can achieve the same with JavaScript,
which you probably do here, but if you say something


the second line won't be executed anymore, for the
browser has already started a new request.

-- Chris. 

To unsubscribe, e-mail:
For additional commands, e-mail:

Do you Yahoo!?
Yahoo! Photos: High-quality 4x6 digital prints for 25
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message