You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Ray <fo...@gmail.com> on 2012/07/25 13:14:31 UTC

Tapestry checklist without page submit.

Hi all,

Just wondering with the Checklist component, is there any way of getting
this to listen on an update or selection event as opposed to having to
submit the entire page?

If not, are there other options available?


Cheers,

Ray.

Re: Tapestry checklist without page submit.

Posted by Ray <fo...@gmail.com>.
Thanks Thiago, ill give an attempt at it.



On Wed, Jul 25, 2012 at 2:59 PM, Thiago H de Paula Figueiredo <
thiagohp@gmail.com> wrote:

> On Wed, 25 Jul 2012 08:14:31 -0300, Ray <fo...@gmail.com> wrote:
>
>  Hi all,
>>
>
> Hi!
>
>
>  Just wondering with the Checklist component, is there any way of getting
>> this to listen on an update or selection event as opposed to having to
>> submit the entire page?
>>
>
> JavaScript! :) Depending on where you want the 'listen' to happen
> (client-side or server-side), if server-side, you'll also need to create an
> event URL for it using ComponentResources.**createEventLink() and pass it
> to your JavaScript code to use in an AJAX request.
>
> --
> Thiago H. de Paula Figueiredo
>
> ------------------------------**------------------------------**---------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.**apache.org<us...@tapestry.apache.org>
> For additional commands, e-mail: users-help@tapestry.apache.org
>
>

Re: Tapestry checklist without page submit.

Posted by Thiago H de Paula Figueiredo <th...@gmail.com>.
On Wed, 25 Jul 2012 08:14:31 -0300, Ray <fo...@gmail.com> wrote:

> Hi all,

Hi!

> Just wondering with the Checklist component, is there any way of getting
> this to listen on an update or selection event as opposed to having to
> submit the entire page?

JavaScript! :) Depending on where you want the 'listen' to happen  
(client-side or server-side), if server-side, you'll also need to create  
an event URL for it using ComponentResources.createEventLink() and pass it  
to your JavaScript code to use in an AJAX request.

-- 
Thiago H. de Paula Figueiredo

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