Hi, Thanks for your help, that works. But there's always an issue:
I'd like to display component that is common in all classes So in my parent html : <body> <span wicket:id="myDiv"></span> <div wicket:id="myNewPanel"></div> <div wicket:id="myNewPanel2"></div> </body> And add a label with id "myDiv" in related parent java. This part is common to all classes. But when I render the TestFormOne, that doesn't work because, apparently the label "myDiv" must be define in subclass. What do you think? Best Regards, Aurélie -----Message d'origine----- De : Ilja Pavkovic [mailto:ilja.pavko...@binaere-bauten.de] Envoyé : vendredi 22 janvier 2010 11:50 À : users@wicket.apache.org Cc : zze-Nsb BOITEUX A ext RD-MAPS-GRE Objet : Re: Override fragments in subclasses Hi, > And the related html: > <body> > <wicket:extend> > <wicket:fragment wicket:id="myNewPanel" > > <span wicket:id="label"/> > </wicket:fragment> > </wicket:extend> remove <wicket:extend> and </wicket:extend>. wicket:id="myNewPanel" is not part of the wicket:child declaration of the parent class. Best Regards, Ilja Pavkovic -- binaere bauten gmbh · tempelhofer ufer 1a · 10961 berlin +49 · 171 · 9342 465 Handelsregister: HRB 115854 - Amtsgericht Charlottenburg Geschäftsführer: Dipl.-Inform. Ilja Pavkovic, Dipl.-Inform. Jost Becker ********************************* This message and any attachments (the "message") are confidential and intended solely for the addressees. Any unauthorised use or dissemination is prohibited. Messages are susceptible to alteration. France Telecom Group shall not be liable for the message if altered, changed or falsified. If you are not the intended addressee of this message, please cancel it immediately and inform the sender. ******************************** --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org For additional commands, e-mail: users-h...@wicket.apache.org