Hi Jan,
I have a legacy home-grown jsp application where I'm showing wicket pages in
the content area using an inframe tag. Initially I had a problem that
turned out to be caused by not using the closing tag for the iframe. Here's
an example that works in IE6/7:
<head>
<style type="text/css">
iframe{ float:left; height:500px; width:100%; display:block;
frameborder:0;}
</style>
</head>
<body>
<jsp:include page="/leftside.jsp" flush="true" />
<jsp:include page="/top.jsp" flush="true" />
<iframe src="http://someserver/WicketDemoPage?someparm=somevalue"
frameborder="0"></iframe>
<jsp:include page="/bottom.jsp" flush="true" />
<jsp:include page="/rightside.jsp" flush="true" />
</body>
This technique works for me with bookmarkable pages, so in the above case
the following would be put in the init() method of the Application class:
mountBookmarkablePage( "/WicketDemoPage", WicketDemoPage.class );
HTH,
Jim
Jan.Koops wrote:
>
> Hello !
>
> We are using a JSP-based content management system for navigation, page
> layout etc.
> Now we're evaluating Wicket as our "application" framework: A Wicket
> application should appear in the center of the JSP based layout and
> navigation.
> Has somebody already included a wicket page via jsp:include or other ways?
> It seems to me a Page would be the wrong Wicket component to include,
> since no body or header should be rendered.
>
> Best regards
> Jan
>
--
View this message in context:
http://www.nabble.com/Including-wicket-in-JSPs--tp18071635p18072855.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]