开发者

show or hide a portlet based on the event of another portlet

I m new in Liferay portlet. Can any one tell me how I can show or hide a portlet based开发者_开发问答 on the event of another portlet. I want coding in ice:spaces only not any other way. If someone know solution for this please reply me as soon as possible. Note: I m using ice:spaces in xhtml not .jsp file. Thank you.


If you're using standard portlet technology this is not possible in a direct way. If using JSR 286 (Portlet 2.0) you could send an event (or a public render parameter) so that the portlet you want to hide can set its window state to minimized (you still see the title). Alternatively you could set the window state of the portlet requesting to hide others to maximized, this would hide all other portlets.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜