Usually, you would just call

setResponsePage(new WicketTestConfPage(pizzaModel));

On any component. The component then dispatches it to the needed
underlying structure (like the RequestCycle).

Eelco


On 8/22/05, David R. Heffelfinger <[EMAIL PROTECTED]> wrote:
> On Mon, 2005-08-22 at 06:02 -0700,
> [EMAIL PROTECTED] wrote:
> > Re: [Wicket-user] New Wicket Review/Tutorial Online
> 
> >It seems to me that it isn't clear enough yet how you can make pages.
> >What i should do in youre submit is this:
> >
> >    RequestCycle requestCycle = getRequestCycle();
> >    PizzaModel pizzaModel = (PizzaModel) getModelObject();
> >
> >    requestCycle.setResponsePage(new WicketTestConfPage(pizzaModel));
> >    requestCycle.setRedirect(true);|
> 
> I'll try this later today and update the tutorial if (when) it works.
> 
> Like I mentioned in the tutorial I am new to Wicket myself, I came up
> with the code by following some examples.  If this is a better way to
> accomplish what the example application is doing I will definitely
> update it to reflect that.
> 
> Thanks for the feedback.
> 
> David
> 
> --
> Ensode.net http://www.ensode.net
> 
> 
> 
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
> Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to