portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ate Douma (JIRA)" <jetspeed-...@portals.apache.org>
Subject [jira] Closed: (JS2-248) How is a portlet connected to a page ?
Date Wed, 27 Apr 2005 09:30:24 GMT
     [ http://issues.apache.org/jira/browse/JS2-248?page=all ]
Ate Douma closed JS2-248:

    Resolution: Invalid

Closed as an Invalid *non-issue*!

Please don't misuse JIRA for questions which really should be asked on the mailing lists.
For this once I'll answer your question though:

PortletWindow pw = portletWindowAccessor.getPortletWindow(fragment);
PortletDefinition pd = pw.getPortletWindow().getPortletDefinition();

> How is a portlet connected to a page ?
> --------------------------------------
>          Key: JS2-248
>          URL: http://issues.apache.org/jira/browse/JS2-248
>      Project: Jetspeed 2
>         Type: Task
>   Components: Components Core, PSML, Portlet Factory, Portlet Registry
>     Versions: 2.0-M2
>  Environment: Windows XP, Jetspeed-M2 Binary Distribution
>     Reporter: Sebastian Komander

> Hi,
> I'm using the Jetspeed PageManagerComponent. I can get all fragments from a page, but
how can I get the portlets on the page ? I's there any example ? I can't find a connection
between a fragment and a portlet application ? 
> I only want to show the portlets which are lying on a page, but how do I do that?
> PageManager pManager = //get the service from PortletContext
> Page p = pManager.getFolder("testfolder").getPage("TestPage");
> Fragment frag = p.getRootFragment().getFragment("frg-01");
> How can I get the portlets from the Fragment "frag". With the "getProperty"-Method ?

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org

View raw message