You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ja...@tk-online.de on 2008/06/23 17:24:03 UTC
Including wicket in JSPs?
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
Antwort: Re: Antwort: Re: Including wicket in JSPs?
Posted by Ja...@tk-online.de.
Hello Daniel,
no thank you, I want the html-code to appear in the page.
Anyone played with jsp:including wicket so far?
Jan
Daniel Frisk schrieb am 24.06.2008 09:05:24:
> Perhaps you can use object as a drop in replacement of iframe? I
> haven't tested it in different web browsers so no guarantees from me :-)
>
> <object data="http://java.net" type="text/html"></object>
>
> // Daniel Frisk
> jalbum.net
>
>
> On 2008-06-24, at 08:37, Jan.Koops@tk-online.de wrote:
>
> > Hi Jim,
> >
> > thank you for your suggestion, but we use XHTML 1.0 Strict, so we
> > can't
> > use IFrames.
> >
> > Jan
> >
> > jnorris <j....@snet.net> schrieb am 23.06.2008 18:26:27:
> >
> >>
> >> 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: 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
>
Re: Antwort: Re: Including wicket in JSPs?
Posted by Daniel Frisk <da...@jalbum.net>.
Perhaps you can use object as a drop in replacement of iframe? I
haven't tested it in different web browsers so no guarantees from me :-)
<object data="http://java.net" type="text/html"></object>
// Daniel Frisk
jalbum.net
On 2008-06-24, at 08:37, Jan.Koops@tk-online.de wrote:
> Hi Jim,
>
> thank you for your suggestion, but we use XHTML 1.0 Strict, so we
> can't
> use IFrames.
>
> Jan
>
> jnorris <j....@snet.net> schrieb am 23.06.2008 18:26:27:
>
>>
>> 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: 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
Antwort: Re: Including wicket in JSPs?
Posted by Ja...@tk-online.de.
Hi Jim,
thank you for your suggestion, but we use XHTML 1.0 Strict, so we can't
use IFrames.
Jan
jnorris <j....@snet.net> schrieb am 23.06.2008 18:26:27:
>
> 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: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
Re: Including wicket in JSPs?
Posted by jnorris <j....@snet.net>.
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: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org
Re: Including wicket in JSPs?
Posted by Igor Vaynberg <ig...@gmail.com>.
http://herebebeasties.com/2007-03-01/jsp-and-wicket-sitting-in-a-tree/
google is your friend
-igor
On Mon, Jun 23, 2008 at 8:24 AM, <Ja...@tk-online.de> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org