Not sure what exactly happens but looking at the code in wiki I'd re-make
JspContainer to JspBehavior. I doubt this will help but you can try it
anyway.
Which version of Wicket do you use ?

On Thu, May 12, 2011 at 8:56 PM, Alexandru Artimon <
[email protected]> wrote:

> Hi guys,
>
> I've implemented the <wicket:jsp> tag as described in the wicket wiki <
> https://cwiki.apache.org/WICKET/including-jsp-files-in-html-templates.html>
> and I use it to include the header and the footer in the current wicket
> page. Like this:
>
>   <wicket:jsp file="header.jsp" />
>   <table width="1000" border="0" cellspacing="0" cellpadding="0"
>   align=center>
>   <wicket:child/>
>   </table>
>   <div class="footer">
>   /<wicket:jsp file="footer.jsp" />/
>   </div>
>
> But the outcome is strange because the footer is above the page content:
>
>   <....header....>
>   <div class="footer">
>   /<....footer....>/
>   </div>
>   <....wicket script declarations....>
>   <table width="1000" border="0" cellspacing="0" cellpadding="0"
>   align=center>
>   <....Page Content....>
>   </table>
>
> I know that wicket html tags are processed before the page is built, but
> why do the html elements invert? Or is there a solution for this ?
>
> Thanks in advance,
> Alex
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to