Hi, You have to wrap your loop with progressiveDisplay component and handle onProgressiveDisplay event.
Try to use like this : <t:progressivedisplay t:id="progressiveDisplayCompleteList"> <div class="account_list_items" t:id="accountListItemsLoop" t:type="loop" t:source="completeList" t:value="modelBean" t:encoder="accountListEncoder"> ${modelBean.accountName} </div> </t:progressivedisplay> In your Java code, add : @InjectComponent private Loop accountListItemsLoop; Object onProgressiveDisplayFromProgressiveDisplayCompleteList() { return accountListItemsLoop; } More information on progressivedisplay component parameters here : http://tapestry.formos.com/nightly/tapestry5/tapestry-core/ref/org/apache/tapestry5/corelib/components/ProgressiveDisplay.html Laurent ________________________________________ De : pradeepchy [pradeep...@gmail.com] Date d'envoi : mercredi 15 juin 2011 18:34 À : users@tapestry.apache.org Objet : How can I use Progressive display in my code I want to use <t:progressiveDisplay> in my code which initially display the list of users. When a search button is clicked I progress icon to display to let the user know about the processing. The code I have used is as follows : <t:zone id="prop:consortiaListZone" t:update="show"> <t:delegate to="consortiaListBlock" /> </t:zone> <t:block id="consortiaListBlock"> <form t:type="form" t:id="account_search" t:zone="prop:consortiaListZone"> <input t:type="textField" t:id="text" t:clientId="text" t:size="82" t:tabindex="8" /> <button type="submit" id="submitButton" tabindex="9">Search</button> <div class="account_list_items" t:type="loop" t:source="completeList" t:value="modelBean" t:encoder="accountListEncoder"> ${modelBean.accountName} </div> </form> </t:block> In Java Code : @Property @Inject private Block consortiaListBlock; And a Handler to respond to search button : @OnEvent(component = "account_search", value = EventConstants.SUBMIT) Object getSubAccountUserList() { //Processing logic return consortiaListBlock; } My problem is I am not able to find a way to include <t:progressiveDisplay> in my code. Please help me to sort out the problem. -- View this message in context: http://tapestry.1045711.n5.nabble.com/How-can-I-use-Progressive-display-in-my-code-tp4491860p4491860.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org For additional commands, e-mail: users-h...@tapestry.apache.org