How to make popup window in Liferay?
This my code. It’s like in Liferay Wiki.
var popup = new Liferay.Popup( {
header: 'our title',
position:[150,150],
modal:true, width:500,
height:300,
xy: ['center', 100],
url: '/my_file.jsp',
urlData: { winowState : 'LiferayWindowState.EXCLUSIVE'}
} );
What is missing?
PS: I’m trying to put it working in Liferay 6.0
On top of sandeepnair85’s answer, to AJAX in content form your URI, you’ll have to add the following code:
More details on how the A.Plugin.IO plugin works can be found here:
http://alloy.liferay.com/deploy/api/A.Plugin.IO.html