Oh, and redirect doesn't work with the Page version (at least in my
tests it didn't).
On Fri, Mar 28, 2008 at 7:13 PM, James Carman
<[EMAIL PROTECTED]> wrote:
> If you need to initialize the page instance in some way (by passing
> constructor params, for instance), you use the Page version. The
> other version just uses Class.newInstance() to instantiate the page
> object.
>
>
>
> On Fri, Mar 28, 2008 at 6:44 PM, Timm Helbig <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I have read several times in the mailing list, that it is bad to use
> > setRespsonsePage(Page p). What is the backdraw compared to
> > setResponsePage(Class c) ?
> >
> > In my case a Form Submit redirects to another Page, that needs some
> initial
> > data given through the Constructor, e.g. MyPage(MyInitialData data) {} .
> >
> > Regards,
> > Timm
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]