留言板
How to enable background grey shade when rendering the aui dialog
krishna mohan mathakala,修改在8 年前。
How to enable background grey shade when rendering the aui dialog
Junior Member 帖子: 68 加入日期: 12-9-8 最近的帖子
How to enable background grey shade when rendering the aui dialog.
Lifer version : 6.2 ce
OS : MAC
Lifer version : 6.2 ce
OS : MAC
Kyle Joseph Stiemann,修改在8 年前。
RE: How to enable background grey shade when rendering the aui dialog
Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
krishna mohan mathakala,修改在8 年前。
RE: How to enable background grey shade when rendering the aui dialog
Junior Member 帖子: 68 加入日期: 12-9-8 最近的帖子
Hi Joseph,
I read the documentation,
there told the same thing to use model : true,
that is not working for me , The same property is working in the liferay 6.0 but in 6.2 it's not working.
So I posted in forum.
I read the documentation,
there told the same thing to use model : true,
that is not working for me , The same property is working in the liferay 6.0 but in 6.2 it's not working.
So I posted in forum.
Kyle Joseph Stiemann,修改在8 年前。
RE: How to enable background grey shade when rendering the aui dialog
Liferay Master 帖子: 760 加入日期: 13-1-14 最近的帖子
Hi Krishna,
Could you post more of your code? I cannot reproduce your issue. Here's a runnable example which works fine. Please provide a more information, such as the code that fails or perhaps a runnable example.
- Kyle
Could you post more of your code? I cannot reproduce your issue. Here's a runnable example which works fine. Please provide a more information, such as the code that fails or perhaps a runnable example.
- Kyle
krishna mohan mathakala,修改在8 年前。
RE: How to enable background grey shade when rendering the aui dialog
Junior Member 帖子: 68 加入日期: 12-9-8 最近的帖子
Hi Joseph,
Thanks for your reply.
I am using aui dialog,Not aui modal.
Please check the following code
Thanks for your reply.
I am using aui dialog,Not aui modal.
Please check the following code
popUpWindow=Liferay.Util.Window.getWindow(
{
dialog: {
centered: true,
constrain2view: true,
//cssClass: 'yourCSSclassName',
modal: true,
resizable: false,
toolbars: false,
width:500,
height:380,
}
}
).plug(
A.Plugin.IO,
{
autoLoad: false
}).render();
A.one('body').on('key', function(event) {
popUpWindowComment.once('visibleChange', function(event) {
if (event.prevVal === true) {
event.newVal = true;
}
});
}, 'esc');
popUpWindow.show();
popUpWindow.titleNode.html("Title");
popUpWindow.io.set('uri','uri);
popUpWindow.io.start();