That appears to be a timer-based solution. I would like the panel to update
once and only once when a user clicks on a paging link. Also, to clarify,
the list is getting updated by the "click", but the viewed range is not. So
you have this:

---
* George Michael
* Ezra Lusk
* T-Bone

Viewing items 1-3 of 25
prev NEXT
---


[user clicks NEXT]


---
* Invader Zim
* Seven and a Switchblade
* Valentino Rossi

Viewing items 1-3 of 25
PREV next
---




I dont exactly see from your code the error, but the wiki has a page related
to this
http://cwiki.apache.org/WICKET/how-to-repaint-a-listview-via-ajax.html

if you use ajax, then you need to be sure that there is already a markupID
on the output wich is usually not existent in a listview (you could add a
WebMarkupContainer for example however) and that the target is then updated
accordingly...

regards
 
-- 
View this message in context: 
http://www.nabble.com/Updating-item-range-for-ajax-pager-tf3797101.html#a10741207
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to