I actually meant datatable:

http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/extensions/markup/html/repeater/data/table/DataTable.html

Of which "DefaultDataTable" is a subclass providing several toolbars,
amongst one of them the NoRecordsToolbar you linked.

DefaultDataTable is a good example, but in my experience brings too
much to the table as a default. Building it up yourself from DataTable
is more beneficial.

Martijn

On Sun, Jul 27, 2008 at 2:02 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> Oops, pasted the wrong URL:
>
> http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/extensions/markup/html/repeater/data/table/DefaultDataTable.html
>
>
> On Sun, Jul 27, 2008 at 8:01 AM, James Carman
> <[EMAIL PROTECTED]> wrote:
>> He means check out DefaultDataTable:
>>
>> http://people.apache.org/~tobrien/wicket/apidocs/org/apache/wicket/extensions/markup/html/repeater/data/table/NoRecordsToolbar.html
>>
>> Notice the part about NoRecordsToolbar.
>>
>> On Sun, Jul 27, 2008 at 7:53 AM, Vitaly Tsaplin
>> <[EMAIL PROTECTED]> wrote:
>>>   DataTable? You mean GridView or what...? I cannot find anything
>>> like this in the javadoc... Could you provide a link?
>>>
>>> On Sun, Jul 27, 2008 at 1:47 PM, Martijn Dashorst
>>> <[EMAIL PROTECTED]> wrote:
>>>> 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]
>>>>
>>>>
>>>
>>> ---------------------------------------------------------------------
>>> 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]

Reply via email to