Re: Interpolate response with IResponseFilter

2012-08-27 Thread guillaume.mary
-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...@wicket.apache.org For additional

Re: Interpolate response with IResponseFilter

2012-08-27 Thread guillaume.mary
/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.org For additional commands, e-mail: users-h

Re: Interpolate response with IResponseFilter

2012-08-25 Thread Sven Meier
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-IResponseFilter

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

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

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

Re: Interpolate response with IResponseFilter

2012-08-24 Thread guillaume.mary
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-mail: users-unsubscr

Re: Interpolate response with IResponseFilter

2012-08-24 Thread Sven Meier
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.com/Interpolate-response

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-tp4651476p4651486.html Sent from the Users forum mailing list archive at Nabble.com. - To unsubscribe, e