Hi,

While I am in a page "Page1" listener method and  when I execute the
following code:

                newPage = currentPage.getRequestCycle().getPage("Page1" );

I find that newPage and this page are both the same object

i.e. System.out.println( newPage == this ); evals to true

I have a requirement however where I want newPage to be a different
instance than this

Any ideas how this can be achieved?

I looked up the documentation for this and found

IPage getPage(java.lang.String name)
Returns the page with the given name. If the page has been previously
loaded in the current request cycle, that page is returned. Otherwise,
the engine's page loader is used to load the page.

Thanks, Karthik

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to