How about:
@InjectPage("PageName")
public abstract IPage getNewPageObject();
Mit lieben Grüßen aus dem eWerk
| Holger Stolzenberg
| Softwareentwickler
|
| Geschäftsführer:
| Frank Richter, Erik Wende, Hendrik Schubert
|
| eWerk IT GmbH
| Markt 16
| Leipzig 04109
| http://www.ewerk.com
| HRB 9065, AG Leipzig
| Hauptniederlassung Leipzig
|
| fon +49.341.4 26 49-0
| fax +49.341.4 26 49-88
| mailto:[EMAIL PROTECTED]
|
| Support:
| fon 0700 CALLME24 (0700 22556324)
| fax 0700 CALLME24 (0700 22556324)
|
| Auskünfte und Angebote per Mail
| sind freibleibend und unverbindlich.
-----Ursprüngliche Nachricht-----
Von: Christian Haselbach [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 16. April 2007 14:25
An: Tapestry users
Betreff: Re: tapestry 4.0.2: How do I get a new page object?
Quoting Karthik N <[EMAIL PROTECTED]>:
> I have a requirement however where I want newPage to be a different
> instance than this
In that case you should probably rethink the requirement. Why do you want to
have a different instance? The concept of the page is that you have an instance
to render for the user and then it is returned to the page pool.
> Any ideas how this can be achieved?
You could turn off the cache, but this is most certainly not what you want.
Regards,
Christian
---------------------------------------------------------------------
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]