Hi, > I would very much appreciate if could prepare a little test case for > me (like in src/test and based on WicketTestCase) for me to validate > the implementation.
Sure. I am sending it attached. I just don't know if it is what you need. Case you need it in a different way, please tell me. -- __ André Matheus On 2/27/06, Juergen Donnerstag <[EMAIL PROTECTED]> wrote: > Yes, it is the default behavior and the only one currently supported. > Planned for the next snapshot is to introduce a scope for the header > which by by default would be the class name of the extended component > (PersonListPanel, PersonFormPanel). The scope can be defined like > <wicket:head wicket:scope="myScope"> ...</wicket:head>. > A 2nd (more dynamic) choice will be to override > newHeaderPartContainer() in your Panel to provide your own > HeaderPartContainer (extended from HeaderPartContainer) and to allow > you to provide whatever scope (it is a String) you want to. > > I would very much appreciate if could prepare a little test case for > me (like in src/test and based on WicketTestCase) for me to validate > the implementation. > > Juergen > > On 2/27/06, Andre Matheus <[EMAIL PROTECTED]> wrote: > > 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?cmdlnk&kid0944&bid$1720&dat1642 > > _______________________________________________ > > Wicket-user mailing list > > Wicket-user@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/wicket-user > > > > > ------------------------------------------------------- > 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?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Wicket-user mailing list > Wicket-user@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wicket-user > -- __ André Matheus
test.isZip
Description: Binary data