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 AjaxFallbackDefaultDataTable. Long

Re: AjaxFallbackDefaultDataTable Refresh Data Provider

2011-12-03 Thread Josh Kamau
the idea. Josh. On Sun, Dec 4, 2011 at 12:19 AM, mashleyttu mash...@gmail.com 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 AjaxFormComponentUpdatingBehavior(onkeyup

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() { return

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();

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 fernando.wer...@gmail.comwrote: 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;

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 jer...@wickettraining.com wrote: On Tue, Jun 15, 2010 at 4:30 PM, Fernando Wermus fernando.wer...@gmail.comwrote: Hi all, For some reason *dataView* always passed first=0 and count=0. This is my code add(new

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 hill...@gmail.com:

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/9

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 2

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 hill...@gmail.com: 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

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

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(HibernateDataProviderT).size() line: 68

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

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 lgaw...@apache.org: 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

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 populateItem(Item cell,String