Thanks, please ignore my latest message (I wrote it before seeing yours) Of course, I want to use Wicket's state management, that's why I asked this question in the first place :)
Just for explanation: The page I am working on currently is a page that displays a list of products, which displays products of different categories. I am using PageParameters for the categories in order to have those bookmarkable and with mounted URLs. However, I planned to statefully store filter and sorting options for the list, as I do not regard it neccessary for those lists to be bookmarkable in their sorted or filtered versions. I do not think this is a complete senseless scenario, but it would ask for params & state combined. However, I can cope with this... I just will stick to the params then... Thanks again for your input on this :) Martijn Dashorst wrote: > > On Wed, Jul 23, 2008 at 12:25 PM, pixologe <[EMAIL PROTECTED]> > wrote: >> there are methods: >> setResponsePage(java.lang.Class cls) >> setResponsePage(java.lang.Class cls, PageParameters parameters) >> setResponsePage(Page page) >> but not: >> setResponsePage(Page page, PageParameters parameters) > > correct. > >> is there really no way of passing parameters to an existing instance of a >> page? does this mean I have choose either the param way or the stateful >> way? > > Unless you create that functionality yourself. There is only the > bookmarkable or the stateful way. How would you imagine Wicket to > handle your state if you don't want to use Wicket's state management? > > So either setResponsePage(Page pageInstance) giving you full control > of how to create that page, or setResponsePage(Class pageClass, > PageParameters pars) where you have to work to pass on the state. > > > Martijn > > -- > Become a Wicket expert, learn from the best: http://wicketinaction.com > Apache Wicket 1.3.4 is released > Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/DropDownChoice%2C-PropertyModel-and-stateful-pages-tp18606819p18608007.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]
