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())); 

        } 

} 

I assumed the above code should be sufficient to provide link creation
service as i have even kept the method name using the notation
"build"+service name. Despite that i observed that url is not getting 
modified at all. Would be really helpful if you can provide some inputs on
this.

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