JspFileContainer extends AbstractBehavior >From there on it should be easy to figure out.
On Fri, May 13, 2011 at 9:48 AM, Alexandru Artimon < [email protected]> wrote: > I'm using version 1.4.17. > How would you change it in to a Behaviour ? Are there some classes that > you'll extend or implement? > > Thanks, > Alex > > > On 05/12/2011 10:08 PM, Martin Grigorov wrote: > >> 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 >>> >>> >>> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Martin Grigorov jWeekend Training, Consulting, Development http://jWeekend.com <http://jweekend.com/>
