PDA

View Full Version : [CLOSED] Alert inside Panel



RCN
Oct 08, 2012, 9:09 PM

Daniil
Oct 09, 2012, 11:53 AM
Hi Raphael,

Ext.Msg is a Window. You can position it using the setPosition or setPagePosition methods.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.AbstractComponent-method-setPosition
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.Component-method-setPagePosition

RCN
Oct 09, 2012, 1:03 PM

Daniil
Oct 09, 2012, 1:31 PM
Well, Ext.Msg is a Window, Window is a floating component. It cannot be place to a Panel.

Why do not you want to just position it within the required Panel?

RCN
Oct 09, 2012, 1:55 PM
because it will mask the entire application. Daniil, please do not mark this Thread as closed, i'll try to find a solution to overcome this issue and i'll post when i get it.

Daniil
Oct 09, 2012, 2:47 PM
Yes, I didn't think about it.

Do you need this mask? If no, you could use the show method to configure your alert Window without the "modal" option.
http://docs.sencha.com/ext-js/4-1/#!/api/Ext.window.MessageBox-method-show