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]

Reply via email to