you could pool pages in a session if you want yes.
Don't pool them over multiply sessions. That could even for pretty static
pages go very wrong.

But i don't know if this is really usefull, how many pages are we talking
about?
Are pages really reused multiply times over the same session?


johan

On 3/19/07, Weaver, Scott <[EMAIL PROTECTED]> wrote:

 I was curious to what the best practices and approaches for using single
instances of pages?  Certain pages in my application never really change in
content or when they need to, are changed via an event mechanism so I see no
need (actually it is a disadvantage) to create a new page every time link to
that page.



So, some questions are:

-          Would it make sense to implement my own version of IPageFactory
which could then check my session for an already existing version of the
page?

-          Instead of holding the cached pages in my session, should I
somehow use the PageMap to access existing pages?



I can see a couple ways of doing things, but I am unsure of what is the
best/standard approach for approaching this.  Any suggestions will be
greatly appreciated.



Thanks,

-scott

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to