vineet semwal created WICKET-5170: ------------------------------------- Summary: introduce add(index,Component) in MarkupContainer Key: WICKET-5170 URL: https://issues.apache.org/jira/browse/WICKET-5170 Project: Wicket Issue Type: New Feature Reporter: vineet semwal
Hi, currently the only way to add new items at any index is removing all children and then adding/recreating new children ,this might be ok for listview/dataview since the ideal way of using them is to reconstruct at render ,this though ok for them but will not be good for a repeater whose size is big/growing repeater . fortunately markupcontainer provides everything to introduce a method like add(index,component) which will have functionality like List#(index,element). the advantages of introducing this method will be in places like an infinite scroll repeater which can prevent the growing size by removing elements at start/end depending on scroll position and later can add the items back at start or end . -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira