Yup, that did the trick.  I love it when a problem
takes 2 paragraphs to explain and 1 sentence to solve
:)

Thanks.

--- Howard Lewis Ship <[EMAIL PROTECTED]> wrote:

> Can you set defer=false on the Submit component?  
> 
> On 7/29/05, Chris Nelson <[EMAIL PROTECTED]>
> wrote:
> > In the process of upgrading Trails to Tap4 I ran
> into
> > an issue I can't seem to get around.  I use a
> Foreach
> > component to loop over all the descriptors of an
> > object and display an edit component for each one.
> > This Foreach has its value parameter bound to a
> page
> > property that holds the current descriptor.  This
> > current descriptor is than passed into the edit
> > component.  The problem happens in that one of the
> > edit components has submit bound to a listener
> method
> > on itself, and when this method gets executed it
> no
> > longer has the correct descriptor.  During the
> > listener method execution, the edit component has
> the
> > last descriptor in the Foreach instead of the one
> it
> > should have.  This worked in TP3, and I'm thinking
> may
> > things were changed to fire a submit button after
> the
> > foreach finished rendering.
> > 
> > So my question is, is there any way to have a
> submit
> > button during a foreach with a parameter set to
> the
> > current value of the foreach and still have the
> > paramter be set to the current value when the
> listener
> > method executes?
> > 
> > I realize this is pretty hard to follow, I'll try
> to
> > make a simpler example and send it also.
> > 
> > --Chris
> > 
> > 
> > 
> > 
> > 
> > 
> > __________________________________
> > Yahoo! Mail
> > Stay connected, organized, and protected. Take the
> tour:
> > http://tour.mail.yahoo.com/mailtour.html
> > 
> > 
> >
>
---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> > For additional commands, e-mail:
> [EMAIL PROTECTED]
> > 
> > 
> 
> 
> -- 
> Howard M. Lewis Ship
> Independent J2EE / Open-Source Java Consultant
> Creator, Jakarta Tapestry
> Creator, Jakarta HiveMind
> 
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

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

Reply via email to