In this case, why not take a closer look at datatable?
Martijn
On Sun, Jul 27, 2008 at 12:59 PM, Vitaly Tsaplin
<[EMAIL PROTECTED]> wrote:
> Thank you Igor,
>
> It's a good idea! So this component would complete the set of
> three: DataView, PagingNavigator and NoItemLabel (or kind of).
>
> Vitaly
>
> On Sun, Jul 27, 2008 at 4:36 AM, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> you can create such a label yourself easily. simply pass in the
>> dataview into it and override isvisible() { return
>> dataview.getitemcount()==0; }
>>
>> -igor
>>
>> On Sat, Jul 26, 2008 at 5:53 PM, Vitaly Tsaplin
>> <[EMAIL PROTECTED]> wrote:
>>> Hi everyone,
>>>
>>> Can anyone suggest a way to add a messages like "No items" in case
>>> if no items can be presented by the DataView. Currently I am using a
>>> simple label hiding it if something presents. Is there any other way?
>>> Or someone could generalize it by baking it to a reusable component?
>>>
>>> Vitaly
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
--
Become a Wicket expert, learn from the best: http://wicketinaction.com
Apache Wicket 1.3.4 is released
Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]