And here are the docs you might want to look at: https://ci.apache.org/projects/wicket/guide/8.x/single.html#_adding_resources_to_page_header_section
You'll see that there are plenty of header contributors available in Wicket and I bet there's something there for your needs as well. Regards, Edmund On 08/09/2017 02:31 PM, Andrea Del Bene wrote: > hi, > header container is automatically added to the page by wicket. you can try > adding attributes directly to this component. an example of code to find it > can be seen in class WebPage at line 220 (more or less) > > On 9 Aug 2017 02:06, "Hendy Irawan" <[email protected]> wrote: > >> I've had success my <html> and <body>, but trying to add <head >> wicket:id="head"> as a WebMarkupContainer gave me: >> >> Last cause: Mis-placed <wicket:head>. <wicket:head> must be outside of >> <wicket:panel>, <wicket:border>, and <wicket:extend>. Error occurred while >> rendering page: SomePage using markup stream: file:/.../SomePage.html >> >> Motivation : https://developers.google.com/search/docs/data-types/sitename >> >> Thank you. >> >> >> -- >> View this message in context: http://apache-wicket.1842946. >> n4.nabble.com/How-to-add-dynamic-attributes-to-head-tag-tp4678490.html >> Sent from the Users forum mailing list archive at Nabble.com. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [email protected] >> For additional commands, e-mail: [email protected] >> >> -- Edmund Urbani Liland IT Team Email: [email protected] <mailto:[email protected]> Liland IT GmbH ...does IT better Tel: +43 463 220111 Fax: +43 463 220111-33 Tel(GER): +49 221 65028588 Find us at Facebook http://facebook.com/Lilandit http://iventcloud.com http://Lilandit.com <http://www.LilandIT.com> <http://www.LilandIT.com> Copyright © 2017, Liland IT GmbH Diese Mail enthaelt vertrauliche und/oder rechtlich geschuetzte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese Email irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet. This email may contain confidential and/or privileged information. If you are not the intended recipient (or have received this email in error) please notify the sender immediately and destroy this email. Any unauthorised copying, disclosure or distribution of the material in this email is strictly forbidden.
