You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Muhammad Gelbana <m....@gmail.com> on 2014/06/03 21:49:52 UTC

[t5.3] Loop's value inside form isn't preserved while submission

Its been 6 months since I last used tapestry and I feel a but rusty.

I have a loop inside a form. This loop displays Select components that I
monitor their value change using a server-side VALUE_CHANGED event.

So at a specific point, I may have more than one Select components. Each of
these select components is bound to an object inside one of the looped-over
objects of the loop.

How can I identify which Select component fired the VALUE_CHANGED event ?

*---------------------*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana

Re: [t5.3] Loop's value inside form isn't preserved while submission

Posted by Muhammad Gelbana <m....@gmail.com>.
Thank you. But to switch to 5.4 I have to either disable Bootstrap (which I
don't know how) or I have to learn it and redesign my UI and my deadline
wouldn't allow that. I'll have to rethink this page over, Thank you.

*---------------------*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana


On Tue, Jun 3, 2014 at 11:02 PM, Thiago H de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> On Tue, 03 Jun 2014 16:49:52 -0300, Muhammad Gelbana <m....@gmail.com>
> wrote:
>
>  How can I identify which Select component fired the VALUE_CHANGED event ?
>>
>
> Use the context parameter which was recently (as in last week) added to
> Tapestry. If you're using an older version, you'll need to write the
> JavaScipt yourself and not use the valueChanged event.
>
> --
> Thiago H. de Paula Figueiredo
> Tapestry, Java and Hibernate consultant and developer
> http://machina.com.br
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: [t5.3] Loop's value inside form isn't preserved while submission

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Tue, 03 Jun 2014 16:49:52 -0300, Muhammad Gelbana <m....@gmail.com>  
wrote:

> How can I identify which Select component fired the VALUE_CHANGED event ?

Use the context parameter which was recently (as in last week) added to  
Tapestry. If you're using an older version, you'll need to write the  
JavaScipt yourself and not use the valueChanged event.

-- 
Thiago H. de Paula Figueiredo
Tapestry, Java and Hibernate consultant and developer
http://machina.com.br

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


Re: [t5.3] Loop's value inside form isn't preserved while submission

Posted by Muhammad Gelbana <m....@gmail.com>.
Definitely the wrong subject, I forgot to edit it before sending.

*---------------------*
*Muhammad Gelbana*
http://www.linkedin.com/in/mgelbana


On Tue, Jun 3, 2014 at 10:49 PM, Muhammad Gelbana <m....@gmail.com>
wrote:

> Its been 6 months since I last used tapestry and I feel a but rusty.
>
> I have a loop inside a form. This loop displays Select components that I
> monitor their value change using a server-side VALUE_CHANGED event.
>
> So at a specific point, I may have more than one Select components. Each
> of these select components is bound to an object inside one of the
> looped-over objects of the loop.
>
> How can I identify which Select component fired the VALUE_CHANGED event ?
>
> *---------------------*
> *Muhammad Gelbana*
> http://www.linkedin.com/in/mgelbana
>