Hi, I'm trying to adapt the 'CachingPanel' strategy from JL's '26 Wicket Tricks' to a Page, in order to cache an entire HomePage. It is a requirement that this Page (it is a HomePage) should be rendered like it was static HTML (actually the application generated that static html at some moment by means of templates).
This is the source for CachingPanel from GoogleCode: http://www.google.com/codesearch/p?hl=es#92PP5HImtBs/trunk/twenty-six-wicket-tricks/src/main/java/com/locke/library/web/panels/caching/CachingPanel.java&q=caching%20package:http://twenty-six-wicket-tricks \.googlecode\.com&sa=N&cd=1&ct=rc&t=0 I've tried to simply extend WebPage instead of Panel in CachingPanel, but then it turns out in "onRender's" overriding that markupStream is always null... My question is: Is "onRender" the right method to override taking into account it is about a whole page and not a Panel (markupStream.skipComponent does not make much sense)... I'd appreciate any directions on these one, as this matter is regarding the internals of Wicket, and I'd like to have some security on what's happening behind the scenes... Thank you very much !