You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Igor Vaynberg <ig...@gmail.com> on 2009/08/24 01:59:02 UTC

Re: ajax navigation toolbars not updating when rows are added to initially empty table

update to 1.4.1

-igor

On Sat, Aug 22, 2009 at 7:15 PM, Jason Novotny<ja...@gmail.com> wrote:
> Hi,
>     In a nutshell, I have a table that starts off empty and rows are added
> to it dynamically. So I have a DataTable inside of a WebMarkupContainer
> where setOutputMarkupId(true) and in the ajax callback I do a
> target.addComponent(markupContainer). So far so good and the table does
> update with new table rows. However, the paging toolbar on the bottom never
> gets displayed. So if I set the rowsPerPage to 3 and enter a 4th item, the
> row basically disappears. The code knows not to display a 4th row, but it
> doesn't display the navigation toolbar either. If I refresh the entire page,
> then the complete table with navigator suddenly appears.  It feels as if
> setOutputMarkupPlaceholderTag was never set to true deep in the bowels of
> the datatable/toolbar code since once it starts out as invisible it never
> has a chance to become visible. Does anyone have any ideas if this is a bug
> or I'm just missing something. FYI, I'm using wicket 1.4.0 just released.
>
>   Thanks, Jason
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

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