Added the below method to AppModule.java

public LinkCreationListener buildLinkCreationListener(
                        LinkCreationHub hub) {

                LinkCreationListener listener = new 
MyLinkCreationListenerImpl();
                hub.addListener(listener);
                return listener;
        } 


Created a sample impl class something like one below..

package test.abc

import org.apache.tapestry5.Link;
import org.apache.tapestry5.services.LinkCreationListener;

public class MyLinkCreationListenerImpl implements LinkCreationListener {

        public void createdComponentEventLink(Link arg0) {
                arg0.addParameter("test", 
String.valueOf(System.currentTimeMillis()));

        }

        public void createdPageRenderLink(Link arg0) {
                arg0.addParameter("test", 
String.valueOf(System.currentTimeMillis()));

        }

}

--
View this message in context: 
http://tapestry.1045711.n5.nabble.com/Tapestry-5-cache-issue-when-accessed-via-proxy-tp3388994p3929002.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