Re: Interpolate response with IResponseFilter

2012-08-27 Thread guillaume.mary
: http://apache-wicket.1842946.n4.nabble.com/Interpolate-response-with-IResponseFilter-tp4651476p4651529.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wicket.apache

Re: Interpolate response with IResponseFilter

2012-08-27 Thread guillaume.mary
age in context: http://apache-wicket.1842946.n4.nabble.com/Interpolate-response-with-IResponseFilter-tp4651476p4651525.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-mail: users-unsubscr...@wi

Re: Interpolate response with IResponseFilter

2012-08-25 Thread Sven Meier
s the last case of post + redirect (but the filter is still necessary for components refreshed by Ajax, otherwise I should add AbstractTransformerBehavior to all components of my Page) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Interpolate-response-with-IResponseF

Re: Interpolate response with IResponseFilter

2012-08-24 Thread guillaume.mary
Page) -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Interpolate-response-with-IResponseFilter-tp4651476p4651486.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscri

Re: Interpolate response with IResponseFilter

2012-08-24 Thread Sven Meier
ndler during call of IResponseFilter.filter(..) on the second request. It's handle by a BufferedResponseRequestHandler at the beggining but it disappears ! @Sven: my {myVar}s comes from HTML, or even model of components -- View this message in context: http://apache-wicket.1842946.n4.nabble

Re: Interpolate response with IResponseFilter

2012-08-24 Thread guillaume.mary
View this message in context: http://apache-wicket.1842946.n4.nabble.com/Interpolate-response-with-IResponseFilter-tp4651476p4651480.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e-

Re: Interpolate response with IResponseFilter

2012-08-24 Thread Sven Meier
Where do these {myVar}s come from? Sven On 08/24/2012 03:32 PM, Guillaume Mary wrote: Hi all, Here is my use case: I need to fill variables, like {myVar}, that are rendered into the page. My approach is to use a specialized IResponseFilter for that. The important point is the filter should b

Re: Interpolate response with IResponseFilter

2012-08-24 Thread Martin Grigorov
Hi, In Wicket 1.5.8 there is org.apache.wicket.request.cycle.PageRequestHandlerTracker which you can use to get the requested page and the response page. In your case you need the latter. PageRequestHandlerTracker.getLastHandler(cycle), then check whether it is IPageRequestHandler and call #getPa

Interpolate response with IResponseFilter

2012-08-24 Thread Guillaume Mary
Hi all, Here is my use case: I need to fill variables, like {myVar}, that are rendered into the page. My approach is to use a specialized IResponseFilter for that. The important point is the filter should be applied to a certain Page of my application, and more of that, the variable values are