Thanks 

its working to display the title of content of first item only i.e. every
action,  current index return 0 only.


My tml page coding is,

 <t:form>
 Preview  
</t:form>


java page,


        @InjectComponent
        private Zone title;

        @Inject
        private AjaxResponseRenderer ajaxResponseRenderer;

       void onActionFromPreview() {
                video = new VideoItemCollections("url");
                list = video.videoItem;
                videoTitle = list.get(currIndex).getTitle();
                ajaxResponseRenderer.addRender(title);
        }

        public String getImageTitle() {
                return videoTitle;
        }


How to maintain current index. if click that link current index of items
also refreshed. How to maintain current index of items.



Thank you 




--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/restrict-button-refresh-When-i-click-tp5715114p5715139.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

Reply via email to