It was my mistake to open the portlet.xml in a simple editor as I didn't
see the comment around this tag:
<!-- Don't specify a HEIGHT if you want a normal filled out layout
because percentage values result in the content not to be displayed
on IE6.
Specific values are ok though.
<preference>
<name>HEIGHT</name>
<value>800</value>
</preference>
-->
Setting the height in pixels works fine.
The question remains how the urls of the multiple instances of the
IFrameportlet are persisted?
Also what is the best practise to use multiple instances with different
attributes (e.g. height, width)?
In cocoon you have one file were you declare all available portlets and
another file to configure multiple instances of one portlet type.
Both definition and configuration seems to happen in portlet.xml?
The only solution I can think of is to declare two different portlets
within portlet.xml and having them point to the same class.
Please someone let know if this is the jetpeed approach to declaring
portlets?
Stefan
Stefan Weinert schrieb:
I'm using J2 and the porlet.xml probably replaced the .xreg file (JSR
168 related?).
I just discovered that the url is saved when I edit it in the running
portal, but where is it persisted?
The resizing is the next problem ;-)
I have this fragment on the page:
<fragment id="bt" type="layout"
name="jetspeed-layouts::VelocityOneColumn">
<fragment id="bt-1" type="portlet" name="demo::IFramePortlet"
decorator="gray-gradient-noborder" >
<property layout="OneColumn" name="row" value="0" />
<property layout="OneColumn" name="column" value="0" />
</fragment>
</fragment>
The portlet's and thus the whole portal's height is only about 500px.?
Where can I set the IFrame's height to 100%?
Stefan
Stefano Bianchi schrieb:
I often use IFramePortlets (I did not know it was deprecated ;-) to
include other web application in Jetspeed 1.X.
If you mean .xreg file with portlet.xml, then I think it would be
better to define as many instances as you need (with slightly
different names!), each one with its own url.
BTW, have you succeded in having the IFramePortlet resized accorind
to its content somehow?
Bye, HTH
Stefano
----- Original Message ----- From: "Stefan Weinert"
<[EMAIL PROTECTED]>
To: "Jetspeed Users List" <[email protected]>
Sent: Wednesday, March 15, 2006 2:56 PM
Subject: Portlet Instances of IFrameportlet
I know that it's not a good practise to use the IFrameportlet, but I
have to integrate some third party applications that can't be
replaced right now.
I assigned multiple instances of the IFrameportlet to different psml
pages. I can change the url through the edit portlet dialog, but the
original url is still stored in the portlet.xml file of the demo. So
when restarting the portal it reads the url from this file showing
the old url. Do I have to declare multiple IFrameportlets in the
portlet.xml file in order to have different urls as default url for
the portlet instances?
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]