In the addToolbar() method you have:
WebMarkupContainer item = new ToolbarContainer(container.newChildId());
That's where the magic happens :)
Regards
Robert
On 02/11/2011 02:26 PM, Alex Shubert wrote:
Sure thing, but how exactly does it works if there are no such ID in
html markup for DataTable? =) This was the question.
On 11 February 2011 16:18, Pedro Santos<[email protected]> wrote:
Hi, u use this id to create an AbstractToolbar to be add to DataTable using
one of its method like:
DataTable#addTopToolbar
DataTable#addBottomToolbar
On Fri, Feb 11, 2011 at 11:08 AM, Alex Shubert<[email protected]>wrote:
Hello
Recently I found public static final String TOOLBAR_COMPONENT_ID =
"toolbar";
in DataTable sources but can't find such ID in markups. How exactly
does it works?
Thanks
--
Best regards
Alex
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
--
Pedro Henrique Oliveira dos Santos
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]