wicket-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From francois meillet <francois.meil...@gmail.com>
Subject Re: Wicket's error message-> java.lang.IllegalStateException: This container is already dequeing
Date Sun, 29 Dec 2019 09:46:30 GMT
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 <oyesomefunlanre@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-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 

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


Mime
View raw message