Note: I just noticed that the select component page for the select element includes an example that illustrates updating a select inside of a form via a zone update. I'm essentially trying to do the same thing, only with dynamically generated selects.
On Mon, Jul 11, 2011 at 1:48 PM, Ray Nicholus <rnicho...@widen.com> wrote: > Actually, in this case, I have a zone including a form field inside a loop, > there are no nested zones. I was worried that I would have to revert to > custom javascript, but I'm hoping that isn't true. I'm not quite sure why > this doesn't work, but once the 2nd select in the form (the one inside the > zone) is updated, changes I make to the selection in that select are ignored > unless I submit and then choose an option in that select. > > > On Mon, Jul 11, 2011 at 1:45 PM, Thiago H. de Paula Figueiredo < > thiag...@gmail.com> wrote: > >> On Mon, 11 Jul 2011 15:34:58 -0300, Ray Nicholus <rnicho...@widen.com> >> wrote: >> >> No, indeed it looks like I cannot use a submit button here. Surely I >>> can't be the first person who wanted to update a select via a zone update >>> inside of a loop. Isn't there a straightforward way to make this happen? >>> >> >> As I've written in a little bit similar thread . . . >> >> "Maybe you're just rying to use the components in a way that wasn't >> intended. The Tapestry >> out-of-the-box AJAX support covers many scenarios but not all (and I guess >> Zones including form fields inside a Zone inside a Loop is definetely not >> one of them). Some scenarios are better covered with custom JavaScript." >> >> -- >> Thiago H. de Paula Figueiredo >> Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, >> and instructor >> Owner, Ars Machina Tecnologia da Informação Ltda. >> http://www.arsmachina.com.br >> >> >> ------------------------------**------------------------------**--------- >> To unsubscribe, e-mail: >> users-unsubscribe@tapestry.**apache.org<users-unsubscr...@tapestry.apache.org> >> For additional commands, e-mail: users-h...@tapestry.apache.org >> >> >