Liferay.PortletSharing = { showNetvibesInfo: function(netvibesURL) { var popup = Liferay.Popup( { width: 550, modal: true, title: '\u0041\u0064\u0064\u0020\u0074\u006f\u0020\u004e\u0065\u0074\u0076\u0069\u0062\u0065\u0073' } ); var portletURL = Liferay.PortletURL.createResourceURL(); portletURL.setPortletId(133); portletURL.setParameter("netvibesURL", netvibesURL); jQuery.ajax( { url: portletURL.toString(), success: function(message) { popup.html(message); } } ); }, showWidgetInfo: function(widgetURL) { var popup = Liferay.Popup( { width: 550, modal: true, title: '\u0041\u006c\u006b\u0061\u006c\u006d\u0061\u007a\u00e1\u0073\u0020\u0068\u006f\u007a\u007a\u00e1\u0061\u0064\u00e1\u0073\u0061\u0020\u0062\u00e1\u0072\u006d\u0065\u006c\u0079\u0020\u0077\u0065\u0062\u006f\u006c\u0064\u0061\u006c\u0068\u006f\u007a' } ); var portletURL = Liferay.PortletURL.createResourceURL(); portletURL.setPortletId(133); portletURL.setParameter("widgetURL", widgetURL); jQuery.ajax( { url: portletURL.toString(), success: function(message) { popup.html(message); } } ); } };