WebMarkupContainer requires an ID. The magic here is happening in the
ToolbarContainer class, which is delegating its rendering to the toolbar
that you passed in. The requirement of the toolbar component ID appears to
be somewhat arbitrary, probably just to remove confusion about what ID to
use,
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 alex.shub...@gmail.comwrote:
Hello
Recently I found public static final String
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 pedros...@gmail.com wrote:
Hi, u use this id to create an AbstractToolbar to be add to DataTable using
one of its method like:
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
So, the toolbar id just droppped out? It is used only as a marker?
2011/2/11 Robert Dahlström robert.dahlst...@bwin.org:
In the addToolbar() method you have:
WebMarkupContainer item = new ToolbarContainer(container.newChildId());
That's where the magic happens :)
Regards
Robert
--
As far as I can tell yes. But maybe someone with better knowledge can
enlighten us?
/Robert
On 02/11/2011 02:38 PM, Alex Shubert wrote:
So, the toolbar id just droppped out? It is used only as a marker?
2011/2/11 Robert Dahlströmrobert.dahlst...@bwin.org:
In the addToolbar() method you
It looks like WebMarkupContainer does not require ID at all. It
somehow unusuall
2011/2/11 Robert Dahlström robert.dahlst...@bwin.org:
As far as I can tell yes. But maybe someone with better knowledge can
enlighten us?
/Robert
--
Best regards
Alex