On Fri, Jul 24, 2009 at 1:25 PM, Thiago H. de Paula Figueiredo < thiag...@gmail.com> wrote:
> Em Fri, 24 Jul 2009 13:44:35 -0300, Geoffrey Wiseman < > geoffrey.wise...@gmail.com> escreveu: >> >> Even suggestions on where to debug and diagnose would be nice; I'm digging >> around inside Form and Loop, but I don't yet understand what part of >> Tapestry takes the response values in the form POST and tries to apply >> them back to the bound object model. >> > > Look at the field components (any org.apache.tapestry5.Field subclass, > specially the AbstractField subclasses) and their processSubmission(String > elementName) methods. Form does not handle fields values, the field > components are the ones responsible for this. Ok, I'll follow that chain with the Select component, see where it leads me. How does that interact with a Loop? > You can also make sure that the same array instance is used during > rendering and form submission. In this case, the array is part of an object in @SessionState, so it should be the same instance. - Geoffrey -- Geoffrey Wiseman http://www.geoffreywiseman.ca/