Re: [Wicket-user] How to get desired DataTable layout

2007-04-21 Thread Ryan Holmes
If I understand the question, you just need to subclass AjaxPagingNavigator and then copy and modify PagingNavigator.html. So, if your subclass is called MyAjaxPagingNavigator, create a MyAjaxPagingNavigator.html file in the same package and copy the contents of PagingNavigator.html into it

Re: [Wicket-user] How to get desired DataTable layout

2007-04-21 Thread Lec
Hie Igor, Ptrthomas, Thanks for providing me the links of the sample reference code, Im afraid that s not what Im looking for. Take a look at http://www.nabble.com/use-images-in-pagingNavigator-tf1562785.html#a4249863 It has the implementation markup of the HTML. Now

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Peter Thomas
Hi, I tried to create a tabular listing with pagination completely from scratch using only ListView-s and you can look at the code here: http://fisheye3.cenqua.com/browse/j-trac/trunk/jtrac/src/main/java/info/jtrac/wicket/ItemListPanel.java?r=946 It's not Ajax, but may help as a reference. The

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Lec
Thanks for the answer. Hmmm but my last question wasn't clearly quite answered :) Actually I was asking for a sample code of AjaxPagingNavigationLink/ AjaxPagingNavigationIncrementLink with AjaxPagingNavigationBehaviour as I had a difficult time in finding and understanding the correlations betwee

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Igor Vaynberg
On 4/20/07, Lec <[EMAIL PROTECTED]> wrote: I didn't repaint it. It's just the WebMarkupContainer component that I missed putting in my Panel that caused the whole odd behaviour displaying problemAnyway it's now working for me after putting the WebMarkupContainer in the Panel. Thanks :) What

Re: [Wicket-user] How to get desired DataTable layout

2007-04-20 Thread Lec
I didn't repaint it. It's just the WebMarkupContainer component that I missed putting in my Panel that caused the whole odd behaviour displaying problemAnyway it's now working for me after putting the WebMarkupContainer in the Panel. Thanks :) What Im confused about is, I don't understand why

Re: [Wicket-user] How to get desired DataTable layout

2007-04-19 Thread Igor Vaynberg
have you tried final WebMarkupContainer gridviewcontainer=new WebMarkupContainer(); gridviewcontainer.setOutputMarkupId(true); gridviewcontainer.add(new gridview(...)); gridviewcontainer.add(new ajaxpagingnavigator(...) { onAjaxEvent(target) { target.add(gridviewcontainer); } } this is a common

Re: [Wicket-user] How to get desired DataTable layout

2007-04-19 Thread Lec
Hie Igor, Just to provide more info on the"GridView doesn't work in AjaxPagingNavigator" part in case you don't get what I mean, when I said it's not working in AjaxPagingNavigator, I actually mean, the data manage to display onto the GridView, but when I try to click onto other page

Re: [Wicket-user] How to get desired DataTable layout

2007-04-19 Thread Lec
Hie Igor, I need to check with you. I noticed GridView only works in PagingNavigator but not in AjaxPagingNavigator, and to have it working in AjaxPagingNavigator, I tried implementing a "IPageable" interface into GridView but it wasn't fruitful. As far as I know and If im right about

Re: [Wicket-user] How to get desired DataTable layout

2007-01-16 Thread Igor Vaynberg
so what you want is an ajaxified gridview what you need is AjaxPagingNavigator which we already have, and AjaxFallbackOrderByBorder which we also already have. then you just need to create a panel that encapsulate and connects the gridview and the aforementioned two components - just like datata

Re: [Wicket-user] How to get desired DataTable layout

2007-01-16 Thread Daniele Dellafiore
I want to provide different views of my data. Ajaxified table is good for multiple-columns view where columns are "name" "title" "address" and so on. The layout I have with the use of a GridView is such that each cell have all informations, so in cell 1,1 displays the entry number 1 with the pictur

[Wicket-user] How to get desired DataTable layout

2007-01-16 Thread Daniele Dellafiore
Hi. I am using a AjaxFallbackDefaultDataTable to display some search results and this is good for typical multiple-columns layout. I want results also to be displayed in a "grid" layout, where a whole single result stays in a single cell (an image and a text label below). I can't figure out how to

Re: [Wicket-user] How to get desired DataTable layout

2007-01-16 Thread Igor Vaynberg
i dont get what you are trying to describe, can you try again? are you trying to ajaxify the gridview? use datatable to show non-tabular data? -igor On 1/16/07, Daniele Dellafiore <[EMAIL PROTECTED]> wrote: Hi. I am using a AjaxFallbackDefaultDataTable to display some search results and this