I have a very basic link to a FAQPage, as shown below. Every time that link
is clicked, the FAQPage constructor is called. This page is fairly static,
and there's no reason for it to be re-constructed on every request. Is there
a way to create the link so that it will use an existing instance of FAQPage
rather than re-constructing the whole page every time the link is called?

faqPageLink = new Link("faqPageLink") {
  public void onClick() {
    setResponsePage(FAQPage.class);
  }
};
-- 
View this message in context: 
http://www.nabble.com/Are-pages-stored-in-session--tp20386141p20386141.html
Sent from the Wicket - User mailing list archive at Nabble.com.


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

Reply via email to