size() might also get called before because it might be used in isVisible() method so whenever wicket needs to determine visibility dataprovider's size might get called.
but this is all encapsulated, you should not care when and what methods are called on the dataprovider.
-igor
On 11/4/06, Stefan Lindner
<[EMAIL PROTECTED]> wrote:
Dear Wicket wizzards,
my current problem is a little bit hard to explain:
1. I have a Panel P1 contianing an AjaxTabbedPanel
2. One of the AjaxTabbedPanell panels (P2) contains a DataTable
3. Panel P1 has a AjaxFallbackLink. The AjaxFallBackLink's "onClick" method adds P2 to the "AjaxRequestTarget" targets. This means, whenever the AjaxFallbackLink is clicked, the mehtod "onclick" is activated and the method adds P2 to the "AjaxRequestTarget" list.
4. When the link is clicked, the size() method of the DataTables's SortableDataProvider is called at first.. Then the iterator() method.
5. The onBeforeRender methods of P2 and the DataTable are called afterwards.
What I want to do is to provide the DataTable with actual data. So I expected taht the size() and iterator() methods ware called after beforeRender(). But they are called before. Is this the intened behavior?
Stefan Lindner
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ Wicket-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wicket-user
