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" <he...@soluvas.com> 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: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

Reply via email to