java - displaying portlet in another portlet without popup -
is there way in display 1 portlet in other portlet ? problem facing have 2 portlets in liferay,i want's display complete second portlet in reserved div area of first portlet,so can use functionality of second portlet in first one(i don't want use popup particular scenario). or in other words wants nested portlet have google didn't find helping material ,now question scenario possible in liferay? helping appreciated.
hi use nested portlet.
or use web content display portlet inside can display portlet
or can use liferay portlet sharing java script code..
i have small following snippet render portlet in div wont peforn actions because static content
the following example snippet load portlet in div
aui().use('aui-base','aui-node','aui-dialog','aui-io-request', 'aui-io','liferay-portlet-url','aui-dialog-iframe', function(a) { var url =liferay.portleturl.createrenderurl(); url.setportletid('signinaction_war_watsonsigininportlet'); url.setwindowstate('pop_up'); var myajaxrequest=a.io.request(url.tostring(), { datatype: 'html', autoload: false, on: { success: function() { // a.one('#testestdiv').set('innerhtml',"meera"); document.getelementbyid("login-portlet-content").innerhtml=this.get('responsedata'); //a.one('#loginboxdiv').set('innerhtml',this.get('responsedata')); } } }); myajaxrequest.start(); });
Comments
Post a Comment