(BTW I am assuming that since each component has a parent that sharing is NOT allowed)

--------------------------------------------------
From: "Joel Halbert" <[EMAIL PROTECTED]>
Sent: Friday, June 20, 2008 9:29 AM
To: <[email protected]>
Subject: Is it safe to share static components across multiple page instances and request threads?

Hi,

Is it threadsafe and "wicket safe" to share static Components across multiple instances of a Page (as well as across request threads) in wicket?

Say for example I have a BookmarkablePageLink that takes no dynamic PageParameter arguments, can I create this as a static class member and share it across all instances of the Page on which it is used? (instead if creating a new instance for each new page).

Rgs,
Joel


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

Reply via email to