You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Joel Trunick <jo...@webifysolutions.com> on 2004/06/28 22:17:31 UTC

Form with component sections and one submit button

How would one go about this?

I have a form with sections that I would like to make components with
one submit button to submit all the sections. How do read in the data
for each section/component? Basically I need a listener identified for
the section/components.

Joel


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


Re: Form with component sections and one submit button

Posted by Howard Lewis Ship <hl...@gmail.com>.
Not quite folloiwng you.  Do you want multiple listeners?  Only want
some of the components to participate in the rewind?

If the former, you can "simulate" a listener using the Delegator
component (though I might go an extra step and devise a component for
this purpose).  IRequestCycle.isRewinding() would be useful here, to
only invoke the listener on rewind, not on render.

On Mon, 28 Jun 2004 15:17:31 -0500, Joel Trunick
<jo...@webifysolutions.com> wrote:
> 
> 
> How would one go about this?
> 
> I have a form with sections that I would like to make components with
> one submit button to submit all the sections. How do read in the data
> for each section/component? Basically I need a listener identified for
> the section/components.
> 
> Joel
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tapestry-user-help@jakarta.apache.org
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind
http://howardlewisship.com

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