Hm, still a good question. How do you get the IResponseFilter in there? There doesn't seem to be a way to do anything with the RequestCycle, and getApplication().getRequestCycleSettings() doesn't seem to have a place to set the IResponseFilter...I would also like to ensure that the custom response filter that does the FreeMarkering is only applied to the current request. Any tips/snippets?
Andrew Moore wrote: > > Thanks again igor (you always seem to be able to fix any problems I'm > having getting to grasps with wicket) > I've now got a basic IResponseFilter running that will stick data into > freemarker tags. > > At the moment though I'm creating a HashMap of values to put into > freemarker directly in the Filter (just for testing purposes), whereas I > really want to create a HashMap in the page I'm currently generating and > either pass, or make it available to the filter, but I can't think how I > would do that. > > So, how to I get data from the Page Class I have to the IResponseFilter? > All the examples I could find, just use data directly available from the > FilterClass (like system time). > > Thanks again, > Andrew > > > > -- View this message in context: http://www.nabble.com/Replace-non-wicket-attributed-sections-of-a-html-document-tf3636913.html#a12063101 Sent from the Wicket - User (OLD) mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ IMPORTANT NOTICE: This mailing list is shutting down. Please subscribe to the Apache Wicket user list. Send a message to: "users-subscribe at wicket.apache.org" and follow the instructions. _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user