[ 
https://issues.apache.org/jira/browse/WICKET-3960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13084137#comment-13084137
 ] 

Sylvain Vieujot commented on WICKET-3960:
-----------------------------------------

This is right if you have the all components created in the BasePage.
But this prevents extending the BasePage.
Here in the HomeWithWebMarkupContainerPage how can you add a component as you 
have no reference to the htmlTag.

> 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