Hi,
I get a message:
http-8095-Processor20 ERROR html.WebPage - You probably forgot to add a
<body> or <header> tag to your markup since no Header Container was 
found but components where found which want to write to the <head> section.
<meta http-equiv="refresh" content="10"/>

but my markup already contains <head> and <body tags.

here is the java code:
add(new StringHeaderContributor("<meta http-equiv=\"refresh\" content=\"" +
                                        + refreshRate + "\"/>"));

HTML code:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en"
          xmlns:wicket="http://wicket.apache.org/"; wicket:id="htmlTag" 
dir="ltr">  
  <head>
    <meta http-equiv="Cache-Control" content="no-cache"/>
        
    <title wicket:id="title">Own Community</title>    
    <style type="text/css">
    body {background-color: #FFFFFF; font-family:verdana;}
    .link{  font-weight: bold; white-space: nowrap;}
    .center{ text-align: center;}
    .footer{background:rgb(204,236,255); 
            border-top: blue solid 3px; 
            text-align: center;
                        width:100%;
                        line-height: 120%;
                        margin-top: 5px; 
            }
        .header {background:#FFFFFF; 
            border-bottom: rgb(51,102,204) solid 3px; 
                        width:100%;
                        line-height: 200%;
                        margin-bottom: 5px; 
                        text-align: center;
                }
    .navigationLinks { 
                background:rgb(204,236,255); 
                        text-align: center;
                        height:20px;
                        margin-top: 5px; 
                }
    .bottom {
            /*position:fixed;*/
                        /*bottom:20%;*/
                        width:100%;
                }
    .contacts {
                margin-top: 5px; 
                }
    </style>
  </head>
  
  <body wicket:id="body">...


-- 
View this message in context: 
http://www.nabble.com/Adding-a-header-contributor-raise-an-error-in-logs-tp20436118p20436118.html
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to