Hi, In the java page I have,
@Property private int currentIndex; public List<VideoItem> getVideoDatas() { videoItems = null; VideoItemCollection collection = new VideoItemCollection(Constants.VIDEOS); if(collection.videoItems.size() > 0) { videoItems = collection.videoItems; } return videoItems; } In the .tml page, <t:loop source="videoDatas" encoder="encoder" value="videoItem" index="currentIndex"> --- --- body --- --- </t:loop> The video datas size is 35. Now after all the layout has been done by jvm or something for this page, when the user clicks on an item which is inside that loop i.e., one of the 35 items for eg., 5th item, how to retrieve that particular item's index in that corresponding java page.. When I print this currentIndex it shows 35... -- View this message in context: http://tapestry.1045711.n5.nabble.com/Is-there-any-way-to-get-the-selected-item-s-index-in-loop-after-layout-has-been-done-tp5557270p5557270.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