-
1. Re: how to set portlet WindowState
yelan_gatein Apr 29, 2010 5:21 PM (in response to yelan_gatein)or please support a function for getPortletIdByName.
maybe, i don't know......
-
2. Re: how to set portlet WindowState
mwringe Apr 30, 2010 9:35 AM (in response to yelan_gatein)what exactly are you trying to do?
-
3. Re: how to set portlet WindowState
yelan_gatein Apr 30, 2010 11:13 AM (in response to mwringe)Thanks for your reply.
suppose there are two portlet:
1, portlet-name:adPortlet portlet-id:de1d8e8d-492a-4d13-9f0f-07222222222
2, portlet-name:annPortlet portlet-id:de1d8e8d-492a-4d13-9f0f-07111111111
the contents of the two portlets:
1, adPortlet:
<div title="Maximize" onclick="eXo.portal.UIPortalControl.changeWindowState('de1d8e8d-492a-4d13-9f0f-07111111111', 'maximized');"
Maximize annPortlet
</div>
2, annPortlet:
<div title="Maximize" onclick="eXo.portal.UIPortalControl.changeWindowState('adPortlet', 'maximized');"
Maximize adPortlet
</div>
then we start jbossAS and broswer the two portlets.
1, adPortletwhen i click "Maximize annPortlet", annPortlet be maximized.2, annPortletclick the "Maximize adPortlet", it doesn't work.i need another way to replace portlet id and relized the maximize. -
4. Re: how to set portlet WindowState
yelan_gatein Apr 30, 2010 6:17 PM (in response to mwringe)Or maybe GateIn Portal support to define portlet-id by ourself.