Hello everybody, I''m in the process of migrating an app from 1.4 to 1.5-RC3
 
I see that the PageParameters and IRequestParameters are pretty separate
things now. Any reason why it's done this way and why they not extend a
Common Interface that exposes methods like getParameterNames
getParameterValue. 

Because I  have this usecase: I try to keep a stateless page by heavily
encoding state in the pageParameters, so on different actions I'm resending
parameters that I initially received on this page.
In 1.4 there was no difference in handling parameters that came from
constructor WebPage(final PageParameters parameters) and those that were
received in the request( RequestCycle.get().getPageParameters()) and there
was very easy to reuse the same parameters received in the request - clone 

Is it an easy method to create PageParameters from IRequestParameters(which
I get from RequestCycle.get().getRequest().getRequestParameters()), or
iterating and adding them to PageParameters is the way to go?

Thank you.

-----
http://balamaci.wordpress.com 
--
View this message in context: 
http://apache-wicket.1842946.n4.nabble.com/Wicket-1-5-PageParameters-vs-IRequestParameters-question-tp3442239p3442239.html
Sent from the Users forum mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to