Please, if you manage to solve your problem here in the mailing list remember to close WICKET-6721 on Jira.

On 12/29/19 10:46 AM, francois meillet wrote:
you are adding the header and the footer panels in the child page but the html 
tag is in the super class.

François


Le 28 déc. 2019 à 22:35, LSomefun <oyesomefunla...@gmail.com> a écrit :

I do appreciate you looking at this while on holiday. The 2nd constructor of
PrescientTemplateOriginalPage I have deleted. Truth is it was not needed.
The HTML code of PrescientHome I initially submitted did not include the
HeaderPanel and footerPanel, was because of inheritance from
PrescientTemplateOriginalPage so did not need to include them.
The HTML Code from PrescientTemplateOriginalPage is below
<html>
    <head>
        <title>Template</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,
initial-scale=1.0">
    </head>

    <body>
        <div id="header" wicket:id="headerPanel"/>
        <wicket:child/>

        <div id="footer" wicket:id="footerPanel"/>

    </body>
</html>

And the HTML code from PrecientHome is below
<html>
    <head>
        <title>TODO supply a title</title>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width,
initial-scale=1.0">
    </head>
    <body>
    <wicket:extend>
        <div>
       <form id="occupationForm">

         Doctors :
        <select name="occModel"  wicket:id=":occupationModel">
            <option selected="selected">Choose one</option>
            <option value="0">Physician</option>
            <option value="1">Dentist</option>
            <option value="2">Optometrist</option>
        </select>
        <input type="submit" value="Submit" />.
        </form>
        </div>
    </wicket:extend>
    </body>
</html>


--
Sent from: http://apache-wicket.1842946.n4.nabble.com/Users-forum-f1842947.html

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to