Total Pageviews

Saturday, November 13, 2010

Redirect to another Portlet

This is a very short post, but big enough in its work.
The following code is capable of redirecting to some other portlet.


ThemeDisplay themeDisplay = (ThemeDisplay)liferayPortletRequest.getAttribute(WebKeys.THEME_DISPLAY);
String url =  themeDisplay.getPortalURL() + themeDisplay.getPathMain() + "/message_boards/find_message?messageId=" + _message.getMessageId();

1 comment:

  1. really very nice information sharing and i am looking for such type of informative news and i get through this blog so i am very much thankful to you.
    - liferay development

    ReplyDelete