Re: AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread Martin Grigorov
Hi, Just make your data provider a bit smarter/dynamic. Currently you pass the filter data statically: new SortableIncidentDataProvider("INCIDENT_TS",myListParams). Rework it to be dynamic: new SortableIncidentDataProvider("INCIDENT_TS) { protected MyParams generateParameters

Re: AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread Josh Kamau
dea. Josh. On Sun, Dec 4, 2011 at 12:19 AM, mashleyttu wrote: > Hi, > > I'm using an AjaxFallbackDefaultDataTable and I am trying to update the > Data > Provider during an Ajax call back. A little more details is I have a > TextField with an AjaxFormComponentUpdatingBehavi

AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread mashleyttu
Hi, I'm using an AjaxFallbackDefaultDataTable and I am trying to update the Data Provider during an Ajax call back. A little more details is I have a TextField with an AjaxFormComponentUpdatingBehavior("onkeyup") behavior attached for filtering results in my AjaxFallbackDefaultDa

Re: got no pages from a data provider

2010-06-15 Thread Fernando Wermus
thanks On Tue, Jun 15, 2010 at 6:38 PM, Jeremy Thomerson wrote: > On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus > wrote: > > > Hi all, > > > > For some reason *dataView* always passed first=0 and count=0. > > > > This is my code > > add(new DataView("amistades", new AmistadesProvider()) { >

Re: got no pages from a data provider

2010-06-15 Thread Jeremy Thomerson
On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus wrote: > Hi all, > > For some reason *dataView* always passed first=0 and count=0. > > This is my code > add(new DataView("amistades", new AmistadesProvider()) { > private static final long serialVersionUID = 5328267159730501362L; > > public void p

got no pages from a data provider

2010-06-15 Thread Fernando Wermus
Hi all, For some reason *dataView* always passed first=0 and count=0. This is my code add(new DataView("amistades", new AmistadesProvider()) { private static final long serialVersionUID = 5328267159730501362L; public void populateItem(Item item) { User user=(User)item.getModelObject(); item.add

Re: Data Provider

2009-12-09 Thread hill180
I used AjaxFallbackDefaultDataTable replacing DefaultDataTable, worked like a charm. Thanks! joe On Tue, Dec 8, 2009 at 10:45 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Modal window can contain only ajax components. Are you using ajaxdatatable? > > ** > Martin > > 2009/12

Re: Data Provider

2009-12-09 Thread hill180
I am using DefaultDataTable, is there a component called ajaxdatatable? joe On Tue, Dec 8, 2009 at 10:45 PM, Martin Makundi < martin.maku...@koodaripalvelut.com> wrote: > Modal window can contain only ajax components. Are you using ajaxdatatable? > > ** > Martin > > 2009/12/9 hill180 : > > Hello

Re: Data Provider

2009-12-08 Thread Martin Makundi
Modal window can contain only ajax components. Are you using ajaxdatatable? ** Martin 2009/12/9 hill180 : > Hello Group, > > Just a questions to get a point in the right direction. > > I have a Modal Window that opens when a Search AjaxLink is clicked.  All is > Good There. > > The modal Window i

Data Provider

2009-12-08 Thread hill180
Hello Group, Just a questions to get a point in the right direction. I have a Modal Window that opens when a Search AjaxLink is clicked. All is Good There. The modal Window is a form which has a datatable which autoupdates on textfield. No Problems there. The problem is the Navigation << < 1

Re: DataTable queries data provider for record count TWICE

2009-02-04 Thread Leszek Gawron
Igor Vaynberg wrote: please open a bug report in jira. your commit to NavigationToolbar.java (rev 739663) fixed the problem I had. Thank you! -- Leszek Gawron - To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org Fo

Re: DataTable queries data provider for record count TWICE

2009-01-31 Thread Igor Vaynberg
please open a bug report in jira. -igor 2009/1/31 Leszek Gawron : > I lately switched to wicket 1.4. Suddenly my database gets hit 3 times: > twice for size and once for actual data. > > The stacktraces are: > >> Thread [btpool0-0] (Suspended (breakpoint at line 68 in >> HibernateDataProvider)) >

Re: DataTable queries data provider for record count TWICE

2009-01-31 Thread Leszek Gawron
Leszek Gawron wrote: I lately switched to wicket 1.4. Suddenly my database gets hit 3 times: twice for size and once for actual data. It gets even worse: one size() query gets executed even BEFORE new filter form values get propagated to filter model: If I enter some search criteria into dat

DataTable queries data provider for record count TWICE

2009-01-31 Thread Leszek Gawron
I lately switched to wicket 1.4. Suddenly my database gets hit 3 times: twice for size and once for actual data. The stacktraces are: Thread [btpool0-0] (Suspended (breakpoint at line 68 in HibernateDataProvider)) ReferralsDataProvider(HibernateDataProvider).size() line: 68

Re: Problem to nest list within data DefaultDataTable which already have data provider

2008-02-14 Thread Igor Vaynberg
you should put a list in a panel or in a fragment, and then add that to th ecolumn's cell instead of adding the listview directly. -igor On Thu, Feb 14, 2008 at 6:37 AM, wiki <[EMAIL PROTECTED]> wrote: > > I want to nest list of answers in Data Table which already have data p

Re: Problem to nest list within data DefaultDataTable which already have data provider

2008-02-14 Thread wiki
I want to nest list of answers in Data Table which already have data provider .Below code gives error IColumn[] columns= { new PropertyColumn(new Model("ID"),"questiontext"), new AbstractColumn(new Model("Answer Body")) { public void