Re: datatable and access to toolbars

2008-11-24 Thread Eyal Golan
Alex, I think you can still use the DataTable provided by Wicket. Why not make a toolbar as a member of the table, add it, and then you'll get all the access you need? Eyal Golan [EMAIL PROTECTED] Visit: http://jvdrums.sourceforge.net/ LinkedIn: http://www.linkedin.com/in/egolan74 P Save a

Re: datatable and access to toolbars

2008-11-23 Thread Alex Parvulescu
Hi, Perhaps i did not make myself clear, After adding the toolbar , i need to replace it with another toolbar. Let's say that I have an 'add new' toolbar - with only an 'add new' button, and an 'edit' toolbar, for the editing part. The user clicks 'add new' - the 'add new' toolbar is replaced

Re: datatable and access to toolbars

2008-11-23 Thread James Carman
How about you have your toolbar replace its own contents based on what mode it's in? On Sun, Nov 23, 2008 at 7:59 AM, Alex Parvulescu [EMAIL PROTECTED] wrote: Hi, Perhaps i did not make myself clear, After adding the toolbar , i need to replace it with another toolbar. Let's say that I have

Re: datatable and access to toolbars

2008-11-23 Thread Igor Vaynberg
i dont know if we are going to add this to the api right now. we are mostly concentrating on stabalizing 1.4 so we can get it out of the door. maybe in 1.5... you can always roll your own datatable. the class itself is pretty small and delegates most of its work to datagridview. that way you can

datatable and access to toolbars

2008-11-21 Thread Alex Parvulescu
Hello, i have a question about the toolbars in the DataTable component. my use case is this : i want to embed a small editor in a bottom toolbar.Its a simple ok / cancel panel. I see that there no access to the 'bottomToolbars' variable in the DataTable its private and final and has no

Re: datatable and access to toolbars

2008-11-21 Thread Igor Vaynberg
see #addbottomtoolbar() -igor On Fri, Nov 21, 2008 at 2:57 AM, Alex Parvulescu [EMAIL PROTECTED] wrote: Hello, i have a question about the toolbars in the DataTable component. my use case is this : i want to embed a small editor in a bottom toolbar.Its a simple ok / cancel panel. I see

Re: datatable and access to toolbars

2008-11-21 Thread Eyal Golan
Hi Alex, We had a similar situation. We want a bottom toolbar that has a drop down for selection of number of rows in a page. After a while another requirement was added: add links that open a popup window to change columns in the table and another one to open a popup for filtering the table. I