开发者

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

开发者 https://www.devze.com 2023-03-24 07:57 出处:网络
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 kn

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

精彩评论

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