[ 
https://issues.apache.org/jira/browse/WICKET-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Martin Grigorov resolved WICKET-3960.
-------------------------------------

    Resolution: Invalid

The problem is in your application.
Using WebMarkupContainer you have to add "message" to the htmlTag, not to the 
page as you do.
With TransparentWebMarkupContainer it "just works" because this is what 
'transparent' does for you.

> Setting a wicket:id on the page' html tag generates a validateHeaders warning.
> ------------------------------------------------------------------------------
>
>                 Key: WICKET-3960
>                 URL: https://issues.apache.org/jira/browse/WICKET-3960
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.5-RC5.1
>            Reporter: Sylvain Vieujot
>            Assignee: Martin Grigorov
>            Priority: Minor
>         Attachments: quickstart.zip
>
>
> To be able to set the html lang and dir attributes, I set a wicket:id on the 
> html tag and instantiate a new WebMarkupContainer( "html" ) as explained here 
> :
> http://apache-wicket.1842946.n4.nabble.com/set-attributes-of-HTML-tag-of-page-td1919239.html
> But this generates the following warning :
> Aug 12, 2011 12:51:24 AM org.apache.wicket.markup.html.WebPage validateHeaders
> SEVERE: 
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> Aug 12, 2011 12:51:24 AM org.apache.wicket.markup.html.WebPage validateHeaders
> SEVERE: You probably forgot to add a <body> or <head> tag to your markup 
> since no Header Container was 
> found but components were found which want to write to the <head> section.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to