Wicket - Reusable panels with java inheritance
问题 I have following java classes: I have a two form components which are mapped to Type1Task and Type2Task with a CompoundPropertyModel: Problem: Duplicate Code. I want the D and E Fields to map to a task, not the task types. Is there any way to make this reusable when I hava java inheritance? If yes, can u provide me with tutorials or references? Additional info: The task can contain a timer(thread). If you click on submit button the timer will be started. Thank you! 回答1: You can duplicate the