Clint - I'm seeing similar problem in the simplest possible page. I took the Counter Page example from the Wicket's website and put that into my panels. (the only 2 things in the panel are the AjaxFallbackLink and Label) Clicking on the link would not update the counter.
How do I get to to that "Wicket debug panel"? - I'm pretty new to Wicket. Since I'm not using a form I assume that for me it's problem #1. Dave On Thu, Apr 28, 2011 at 9:20 PM, Clint Checketts <[email protected]>wrote: > I've seen that sort of behavior in 2 common types of cases: > > 1- An exception occurred, disrupting the Ajax response from even returning > (you'll notice it as a type ERROR in the Wicket debug panel) > > 2- A form validator, required field, or conversion failed, stopping the > form from updating underlying models (you would have still seen the > onBeforeRender called in this case). You'd notice this behavior if the > console had a message about 'unrendered feedback message' > > -Clint > -- > Clint Checketts > Sent with Sparrow > On Thursday, April 28, 2011 at 1:25 PM, Tom Barbaro wrote: > > Hi, > > > > I have several checkboxes in a datatable toolbar that control filtering > for > > the content rendered in a datatable. When a checkbox is clicked, we add > the > > datatable to the ajax target, which results in a new query. The > dataprovider > > doQuery methond is called and returns the correct results. The problem is > > the view does not always update. No exceptions occur, the view just does > not > > update. > > > > I set a breakpoint in onBeforeRender for the page and it is called when > the > > view is updated. When the view is not updated it is not called. > > > > The only clue I have is the number of items in the view for the checkbox > I > > just unselected is much larger (more than 100x) than the items selected > by > > the unmodified checkboxes. > > > > Any ideas what would prevent the updating of the table? > > > > Tom > > > > -- > > View this message in context: > http://apache-wicket.1842946.n4.nabble.com/DataTable-s-view-does-not-always-update-tp3481807p3481807.html > > Sent from the Users forum mailing list archive at Nabble.com. > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > >
