Alec Swan
2012-08-09 02:56:50 UTC
Hello,
I am using Wicket 1.4.17 and need to display a 3x3 table with all of
its cells, some of which may not have a model and hence blank. So, if
my DataProvider returns 0 elements than I want all 9 cells to be shown
as blank.
I started using GridView and overrode its populateEmptyItem() method
to display empty cells. However, contrary to its JavaDoc "Add
component to an Item for which there is no model anymore and is shown
in a cell" this method is not being called unless a row has at least
one item (see GrdiView#addItems()).
What would the easiest way to accomplish what I need without copying
the entire code from GridView class? Any other component that can do
that?
Thanks,
Alec
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org
I am using Wicket 1.4.17 and need to display a 3x3 table with all of
its cells, some of which may not have a model and hence blank. So, if
my DataProvider returns 0 elements than I want all 9 cells to be shown
as blank.
I started using GridView and overrode its populateEmptyItem() method
to display empty cells. However, contrary to its JavaDoc "Add
component to an Item for which there is no model anymore and is shown
in a cell" this method is not being called unless a row has at least
one item (see GrdiView#addItems()).
What would the easiest way to accomplish what I need without copying
the entire code from GridView class? Any other component that can do
that?
Thanks,
Alec
---------------------------------------------------------------------
To unsubscribe, e-mail: users-***@wicket.apache.org
For additional commands, e-mail: users-***@wicket.apache.org