Something like this (not tested):

public static MyLinkCreationListener buildMyLinkCreationListener(LinkCreationHub hub) {
        MyLinkCreationLister listener = new MyLinkCreationListener();
        hub.addListener(listener);
        return listener;
}

On Wed, 16 Mar 2011 14:48:33 -0300, sunmoor007 <sunmoo...@gmail.com> wrote:

Hi Rich

Thanks. I understood the implementation of listener but i was looking at a
way to integrate it so that all URL's in app gets modified. I understand
that in app module we can plugin any service. Assume i have a impl class
implementing the listener interface, how will i integrate it into existing application so that all URL's have a dynamic parameter, say system time in
milliseconds appended to the url.

The reason am trying to add the system time is to ensure that everytime a
dynamic value is appended to url and hence proxy server wont cache and show
me stale data which is currently happening.

Thanks
Sundar

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



--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer, and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
Consultor, desenvolvedor e instrutor em Java, Tapestry e Hibernate
Coordenador e professor da Especialização em Engenharia de Software com Ênfase em Java da Faculdade Pitágoras
http://www.arsmachina.com.br

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to