Hi All, I am working a Wicket app that consists of one WebPage that displays a number of different BreadCrumbPanels. Each BreadCrumbPanel has a constructor where I call StringResourceModel to provide I18N strings for Labels, etc. This causes the well-known warning:
Tried to retrieve a localized string for a component that has not yet been added to the page. If I understand the BreadCrumbPanel usage, I instantiate BreadCrumbPanels as a user navigates through the app, which are activated within the host WebPage. The warning is the result of creating the BreadCrumbPanel instance prior to it being added to the host WebPage. What is the recommended approach to avoid the warning in this case? Thanks, Steve -- View this message in context: http://apache-wicket.1842946.n4.nabble.com/Using-StringResourceModel-with-BreadCrumbPanel-constructor-tp3309130p3309130.html Sent from the Users forum mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
