-Igor
On 5/13/06, Johan Compagner <
[EMAIL PROTECTED]> wrote:
but you did say that you want to add/customize the output by adding a textfield to it.
That seems to me like inheritance.
johanOn 5/13/06, smallufo <[EMAIL PROTECTED]> wrote:Yes , I thought of markup inheritance before.
But I feel it doesn't meet my requirement.
It seems that in 'markup inheritence' , parent markup knows it will be inherited , so it will insert <wicket:child/> in parent.html
But in my requirement , parent component doesn't know it will be inherited , this is the difference...2006/5/13, Johan Compagner < [EMAIL PROTECTED]>:use markup inheritance for this. As far as i know this should work for panels also
http://www.wicket-wiki.org.uk/wiki/index.php/Markup_inheritance
johanOn 5/13/06, smallufo < [EMAIL PROTECTED]> wrote:Hi
I have a custom component (form) that extends Panel
I want to extend my custom panel and add some field and overide the onSubmit() method.
But I found I have to duplicate the whole HTML content.
I feel this will increase the complexity of future maintaince.
Is there a better way to handle this ?