Hi all, I am using wicket-1.2-20060227-0200.jar I found an strange thing in the Header Contribution on inherited panels.
I have the following panel hierarchy, all them with wicket:head contribution: BasePanel -- BaseListPanel -- PersonListPanel -- BaseFormPanel -- PersonFormPanel In the page, these panels are added like a master/detail page: Page p -- PersonListPanel l -- PersonFormPanel f When I look at the source code of the generated page, I see the header contribution of BasePanel twice. For instance, if I add a javascript alert("test") in the wicket:head section of BasePanel, it will be executed twice. It looks like that the BasePanel is contributing as many times as a inherited Panel is added to the page. Is it the expected behaviour? Is it possible to make it contribute only once per page? Thank you very much. -- __ André Matheus ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Wicket-user mailing list Wicket-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-user