Hi all. I have created a custom class ContextAwareWebRequestCycle that extends WebRequestCycle. In my application I return an instance of ContextAwareWebRequestCycle in newRequestCycle(..). The ContextAwareWebRequestCycle requires some information that is in the PageParameters. Unfortunately the PageParameters are not available when the newRequestCycle(..) is called. They get populated later in the request cycle in the RESOLVE_TARGET step.
I have changed ContextAwareWebRequestCycle now, so that the object is fully populated when the first WebPage or Panel requests it (which is after the resolve step). However, I would rather have the ContextAwareWebRequestCycle fully constructed before that. I could overwrite RequestCycle.setPageParameters(..) to not just set the PageParameters but also finish constructing ContextAwareWebRequestCycle. But setPageParameters(..) is final, so I cant overwrite it. Any good ideas which method to overwrite so that ContextAwareWebRequestCycle may be fully constructed using PageParameters? -- View this message in context: http://www.nabble.com/Custom-WebRequestCycle-and-PageParameters-tp15667118p15667118.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
