Nausheen,
I have not done a "frames" implementation in Jetspeed, but this is how I
would start:

Jetspeed generates 1 file to send to the browser.  This file is based on
WEB-INF/templates/vm/navigation/html/default.vm, or
WEB-INF/templates/jsp/navigation/html/default.jsp it you are using the
JSP to do the layout.  In default.vm their are place holders for the
navigation bars, $navigation.setTemplate(), and the portlet content,
$screen_placeholder.  Using javascript, you may be able to create a
window containing a one place holder and then add that window to the
frame.

I am now sure how complete or workable a solution this is.

Other options:
o If the links you want displayed are from an RSS feed, then you an
modify
  the XSL file, defined in the <portlet-entry>, to display the link in a
new windows by adding 
  target="_blank" to the <a href=...> tag.
  This is a very clean solution.

o If you control the content, then you can write a portlet that displays
  a webpage using a parameter on that contains the URL.  This is a very 
  fragile solution because the URL must be encoded by the initial
  application to use the portlet and the configuration is tricky.  

Hope this helps.

Paul Spencer


nausheen wrote:
> 
> Hi...
> 
> Exactly what changes do I need to make and to which file? I tried to put
> left.vm in a frame but it didnt work....or was I way of base???
> Is there any sample code that I could see?
> 
> I'm still very much in the greys here :(
> Nausheen.
> 
> ----- Original Message -----
> From: Paul Spencer <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, October 18, 2001 8:01 PM
> Subject: Re: Controlling portlet opening
> 
> > Nausheen,
> > You can change the layout configuration to use frames.  Look at the file
> > <jetspeed-home>/WEB-INF/templates/<layout type vm or
> > jsp>/layouts/html/default.<vm or jsp>
> >
> > Paul Spencer
> >
> >
> > nausheen wrote:
> > >
> > > Hi....
> > >
> > > How can I control the area in which my portlets open?
> > >
> > > When I click a link in a portlet I do not want the target page's content
> to
> > > cover my entire screen...just below my page header.
> > >
> > > I really could use some help with this.
> > >
> > > Thx,
> > > Nausheen.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to