portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn Golden <ggol...@umich.edu>
Subject RE: Jetspeed Proposal: iframe portlet control
Date Thu, 07 Mar 2002 18:16:27 GMT

> -----Original Message-----
> From: David Sean Taylor [mailto:david@bluesunrise.com] 
> Sent: Thursday, March 07, 2002 12:30 PM
> To: 'Jetspeed Developers List'
> Subject: RE: Jetspeed Proposal: iframe portlet control
> > Does that mean we have a Portlet.getControl().getId(), to get
> > the id that would display the portlet with control?
> > 
> Look in the current cvs at the org.apache.jetspeed.portal.Portlet
> interface
>     public String getID();
> The PortletControl interface inherits from Portlet

What I mean here is...  If we have a portlet, say for maximize, do we encode
the portlet's own id into the maximize url?  Or the id one level up, that of
the control around the portlet?  Maximize needs to show the control and the

If we encode the portlet itself id, as is sort of done now, the
jetspeedTool's getPortlet(String id) would need to do the same trick it's
doing now, i.e. finding the one referenced, but returning one level up, the

If we encode the control directly, then getPortlet(id) can just return the
thing id'ed.

For iFrame, I need a getPortlet() that uses the actual id'ed portlet, not
the control around it, and so either getPortlet() does this (given the
portlet's own id), or we need the getPortletContent() as I proposed.

I vote for the id being what we get, without the control trick, and the
ability to encode the URL selecting either the portlet's own it, or the id
of the control of the portlet, if we have only the Portlet object to work

- Glenn
Glenn R. Golden, Systems Research Programmer
University of Michigan School of Information
ggolden@umich.edu               734-615-1419

To unsubscribe, e-mail:   <mailto:jetspeed-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-dev-help@jakarta.apache.org>

View raw message