Forums de discussion
How to enable background grey shade when rendering the aui dialog
krishna mohan mathakala, modifié il y a 8 années.
How to enable background grey shade when rendering the aui dialog
Junior Member Publications: 68 Date d'inscription: 08/09/12 Publications récentes
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, modifié il y a 8 années.
RE: How to enable background grey shade when rendering the aui dialog
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
krishna mohan mathakala, modifié il y a 8 années.
RE: How to enable background grey shade when rendering the aui dialog
Junior Member Publications: 68 Date d'inscription: 08/09/12 Publications récentes
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, modifié il y a 8 années.
RE: How to enable background grey shade when rendering the aui dialog
Liferay Master Publications: 760 Date d'inscription: 14/01/13 Publications récentes
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, modifié il y a 8 années.
RE: How to enable background grey shade when rendering the aui dialog
Junior Member Publications: 68 Date d'inscription: 08/09/12 Publications récentes
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();