You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Michal Velecky <Mi...@posam.sk> on 2009/07/15 18:30:07 UTC
Liferay InlineFrame
Hi,
I'm trying to make InlineFrame in my portlet deployed in Liferay
Portal.
in page:
add(new InlineFrame("myFrame", PageMap.forName("xys"), MyFrame.
class));
in markup:
<div>
<iframe wicket:id="myFrame">
<p>Your browser does not support iframes.</p>
</iframe>
</div>
where MyFrame.java is an empty wicket webpage with simple associated
markup (MyFrame.html) that contains just "hello IFrame" text (and html,
head and body tags).
In Portlet is MyFrame page displayed, but is surrounded with whole liferay
portal.
In other words; in Liferay Portal is my portlet displayed, in that portlet
is whole liferay displayd again and inside that is finally MyFrame page
displayed.
How should I create InlineFrame that contains just MyFrame.java (with
associated MyFrame.html) ?
Michal Velecký
Programátor junior
PosAm, spol. s r.o.
Odborárska 21, 831 02 Bratislava
tel: +421249239228, fax: +421249239888
mailto: Michal.Velecky@posam.sk, http://www.posam.sk