Forums de discussion

Can we minimize a portlet on some link clicked on it

thumbnail
vikash kumar chaurasia, modifié il y a 13 années.

Can we minimize a portlet on some link clicked on it

Junior Member Publications: 97 Date d'inscription: 08/01/10 Publications récentes
Hi All,

Can we minimize a portlet on some link clicked on it? How?

Is it possible to minimize a portlet on some acton on another portlet?

Thanks in advance.
Venkat S, modifié il y a 13 années.

RE: Can we minimize a portlet on some link clicked on it

Junior Member Publications: 26 Date d'inscription: 27/10/09 Publications récentes
Hi,

I am not sure if you can minimize, but i have done something where, on click of a button in one portlet, i perform some actions & hide another portlet which resides in the same page. Just try out the below link for Client side IPC,

http://www.liferay.com/community/wiki/-/wiki/Main/Client-side+Inter-Portlet+Communication

Once into the other portlet's js, u can render\submit with ajax. Let me know if this was something you were looking for.


Regards,
Venkat.S
Hiran Chaudhuri, modifié il y a 13 années.

RE: Can we minimize a portlet on some link clicked on it

Regular Member Publications: 188 Date d'inscription: 01/09/10 Publications récentes
vikash kumar chaurasia:
Hi All,

Can we minimize a portlet on some link clicked on it? How?

Is it possible to minimize a portlet on some acton on another portlet?

Thanks in advance.


You need to tweak the javax.portlet.WindowState for your portlet.
This can be done using the ActionResponse.setWindowState(...) method.

So to make the ActionRequest/ActionResponse come true your link must be an action URL created through RenderResponse.createActionURL(...).
thumbnail
vikash kumar chaurasia, modifié il y a 13 années.

RE: Can we minimize a portlet on some link clicked on it

Junior Member Publications: 97 Date d'inscription: 08/01/10 Publications récentes
Hi Hiran,

Thanks a lot for your reply.

Is it possible to minimize a portlet while clicking on some action on it?

I have a portlet, in which I have to show a link. Once user clicks that link, this portlet should be minimized, so that other portlet on the same page having a bulk of data have more space to be rendered. How can this be achieved.

Please reply soon.
Hiran Chaudhuri, modifié il y a 13 années.

RE: Can we minimize a portlet on some link clicked on it

Regular Member Publications: 188 Date d'inscription: 01/09/10 Publications récentes
vikash kumar chaurasia:
Is it possible to minimize a portlet while clicking on some action on it?

I thought to have responded to that question just above.
Have you tried id? Did it work?
If not, what did you experience?
thumbnail
vikash kumar chaurasia, modifié il y a 13 années.

RE: Can we minimize a portlet on some link clicked on it

Junior Member Publications: 97 Date d'inscription: 08/01/10 Publications récentes
Hi Hiran,

Yes... The issue is resolved now.

Thanks