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]

Reply via email to