You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Pramila Manthena <pr...@gmail.com> on 2005/03/05 06:27:10 UTC

Problem with ImageSubmit/LinkSubmit, need help!

hi,

If I have a ImageSubmit in the middle of a form and have more
textfields later in the form, the listener method triggered on
clicking the ImageSubmit is not able to read the values of the later
form elements. I tried using LinkSubmit instead but saw the same
behavior.

Is there something I am missing?

Hope to hear from someone soon

Thanks,
Pramila

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


Re: Problem with ImageSubmit/LinkSubmit, need help!

Posted by Pramila Manthena <pr...@gmail.com>.
I have 'n' number of rows with textfields, and each row has a little
Image which when clicked on, deletes the corresponding row. My main
form submit kicks off the validation for all these textfields. If I do
not use the listener for the ImageSubmit, and instead use the form's
listener, the validation will kick off, which I do not need when I am
deleting a row. Right?


On Sat, 5 Mar 2005 01:28:15 -0500, Bryan Lewis <br...@maine.rr.com> wrote:
> The other fields' values will be available in the FORM's listener, which is
> calld after the listener for any submit button or image.  It sounds like you
> don't need the ImageSubmit listener at all, only the form's.
> 
> 
> ----- Original Message -----
> From: "Pramila Manthena" <pr...@gmail.com>
> To: <ta...@jakarta.apache.org>
> Sent: Saturday, March 05, 2005 12:27 AM
> Subject: Problem with ImageSubmit/LinkSubmit, need help!
> 
> > hi,
> >
> > If I have a ImageSubmit in the middle of a form and have more
> > textfields later in the form, the listener method triggered on
> > clicking the ImageSubmit is not able to read the values of the later
> > form elements. I tried using LinkSubmit instead but saw the same
> > behavior.
> >
> > Is there something I am missing?
> >
> > Hope to hear from someone soon
> >
> > Thanks,
> > Pramila
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> >
> 
>

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


Re: Problem with ImageSubmit/LinkSubmit, need help!

Posted by Bryan Lewis <br...@maine.rr.com>.
The other fields' values will be available in the FORM's listener, which is
calld after the listener for any submit button or image.  It sounds like you
don't need the ImageSubmit listener at all, only the form's.


----- Original Message ----- 
From: "Pramila Manthena" <pr...@gmail.com>
To: <ta...@jakarta.apache.org>
Sent: Saturday, March 05, 2005 12:27 AM
Subject: Problem with ImageSubmit/LinkSubmit, need help!


> hi,
>
> If I have a ImageSubmit in the middle of a form and have more
> textfields later in the form, the listener method triggered on
> clicking the ImageSubmit is not able to read the values of the later
> form elements. I tried using LinkSubmit instead but saw the same
> behavior.
>
> Is there something I am missing?
>
> Hope to hear from someone soon
>
> Thanks,
> Pramila
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
>


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