eimhee 发表于 2013-2-7 19:55:25

Doubts using Ext.MessageBox

Hi I would like to show the error from server in a Ext.MessageBox but I don't know how I can fill the textArea using multiline, a liltle help please.

Using Ext.MessageBox.alert('Status', resp.responseText); appear the error but I can't close this windows becouse the error text is big and the close button disapear.



I am doing it:

function responseFailure(resp){
      //alert(resp.responseText);
//debugger;
//Ext.MessageBox.alert('Status', resp.responseText);
   Ext.MessageBox.show({
         title: 'Error',
         msg: 'Please send it support:',
         width:300,
         buttons: Ext.MessageBox.OK,
         multiline: true,
    textboxEl: resp.responseText

});
   }

kind regards
Frank
页: [1]
查看完整版本: Doubts using Ext.MessageBox