Wicket: Is it possible to display components of a panel based on page the panel is added to?
- 阅读更多 关于 Wicket: Is it possible to display components of a panel based on page the panel is added to?
问题 I'm pretty new to Wicket, so please excuse me if this is a simple task. I tried to look for examples but came up empty. Here's the scenario. Lets say that I have a customer information panel with 25 data points (name, dob, address, phone, etc). I want to reuse this panel in many different pages on a site. Now lets say I have the following criteria on 3 different pages the panel appears on: Page 1 - All fields are visible and editable Page 2 - Date of Birth, Gender, Customer Name are visible