You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Rogerio Pereira <ro...@gmail.com> on 2006/04/25 18:37:21 UTC

DataTable with sandbox Ajax components

Hi guys,

Can i use a commandButtonAjax with dataTable, i mean, can i return an
ArrayList and fill the dataTable in Ajax way?

--
Yours truly (Atenciosamente),

Rogério

Re: DataTable with sandbox Ajax components

Posted by Rogerio Pereira <ro...@gmail.com>.
>
> It would be better to have the update occur when you click the command
> button though because the refreshes may mostly just go to waste, but that's
> not implemented yet.
>

I agree, i think autoUpdateTable should be replaced with something like
occurs with standards components working with CommandButtonAjax.

Re: DataTable with sandbox Ajax components

Posted by Travis Reeder <tr...@gmail.com>.
Not at the moment, you may want to look at autoUpdateDataTable though which
will refresh itself every X seconds.  Then you can use the commandButtonAjax
to change the results and on the next refresh it will get the new results.

It would be better to have the update occur when you click the command
button though because the refreshes may mostly just go to waste, but that's
not implemented yet.

Travis

On 4/25/06, Rogerio Pereira <ro...@gmail.com> wrote:
>
> Hi guys,
>
> Can i use a commandButtonAjax with dataTable, i mean, can i return an
> ArrayList and fill the dataTable in Ajax way?
>
> --
> Yours truly (Atenciosamente),
>
> Rogério
>