would not have been initialised if written as an inner class when creating
the label.
Please let me know if anyone finds a better way of writing it.
Many thanks again
Vishal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator
of writing it.
Many thanks again
Vishal
--
View message @
http://apache-wicket.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator-tp3034524p3035648.html
To start a new topic under Apache Wicket, email
ml-node+1842946-398011874-65...@n4
-wicket.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator-tp3034524p3035648.html
To start a new topic under Apache Wicket, email
ml-node+1842946-398011874-65...@n4.nabble.comml-node%2b1842946-398011874-65...@n4.nabble.com
To unsubscribe from Apache Wicket, click
herehttp
Hi all,
For some reason I cannot get the current page number. This is the relevant
part of my code:
PageableListView dataList = new PageableListView(dataList, results, 10) {
protected void populateItem(ListItem item) {
..
}
}
tell me what I have missed?
Regards
Vishal
--
View message @
http://apache-wicket.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator-tp3034524p3034524.html
To start a new topic under Apache Wicket, email
ml-node+1842946-398011874-65
Use an dinamic model, ex:
Label currentPage = new Label(currentPage, new
AbstractReadOnlyModelString() {
public String getObject() {
return pagination.getPageable().getCurrentPage();
}
});
On Tue, Nov 9, 2010 at 2:04 PM, Vishal Popat
AjaxPagingNavigator are clicked on.
Any thoughts?
Vishal
--
View this message in context:
http://apache-wicket.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator-tp3034524p3034840.html
Sent from the Users forum mailing list archive at Nabble.com
.1842946.n4.nabble.com/Cannot-get-current-page-from-AjaxPagingNavigator-tp3034524p3034840.html
Sent from the Users forum mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org