1. #1
    Ext JS Premium Member
    Join Date
    Mar 2007
    Location
    Virginia, USA
    Posts
    504
    Vote Rating
    0
    vtswingkid is on a distinguished road

      0  

    Default modal dialog and borderlayout inside a borderlayout tab!!!

    modal dialog and borderlayout inside a borderlayout tab!!!


    Is it possible to do a modal dialog that only impacts its parent? Or are we still forced to place the dialog in the document body?

    EDIT:
    I suppose I can find a clever way to do what i want by using Element.mask and unmask.

    Something like this....
    Place a dialog and container div in the tab.
    Put all the meat in the container div.
    When I dialog is opened place it in the dialog div and mask the container div.
    I think that should do it.

    Any better ideas? Maybe this could be built in to dialog...

    EDIT:
    Here is my scenario and solution psuedo format....

    I have N, W, C border layout.
    Various tabs are open in C region.
    One tab has a border layout and a dialog box open.
    Using getRegion(...).el.mask() I disabled each region.
    I used getNextSibling() from regions to find any split elements and and used mask to disable them.
    ....
    Finishing the dialog unmaskes all of the elements. This simulates a modal dialog withen a tab for me.

    Hope this helps anyone... Oh here is a snippet of code for masking and unmasking...


    Code:
    Ext.get('someTabId').createChild({id:'dialogId', tag:'div'}); 
    layout = new Ext.BorderLayout("someTabId",{... 
    ... 
    dialog = new Ext.BasicDialog('dialogId', { 
    ... 
    layout.getRegion('north').el.mask(); 
    layout.getRegion('west').el.mask(); 
    Ext.get(layout.getRegion('west').el.getNextSibling()).mask(); //mask split bar 
    layout.getRegion('center').el.mask();


    use unmask to reverse this.

  2. #2
    Sencha User jack.slocum's Avatar
    Join Date
    Mar 2007
    Location
    Tampa, FL
    Posts
    6,955
    Vote Rating
    17
    jack.slocum will become famous soon enough jack.slocum will become famous soon enough

      0  

    Default


    That's a lot of masking.

Similar Threads

  1. BasicDialog inside nested BorderLayout
    By christocracy in forum Community Discussion
    Replies: 8
    Last Post: 11 Sep 2007, 11:41 PM
  2. Ext.BorderLayout, inside of a Tab [Solved]
    By Saeven in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 23 Mar 2007, 4:25 AM
  3. Bug with modal dialogs contained inside tabs (on IE)
    By Morten in forum Ext 1.x: Bugs
    Replies: 1
    Last Post: 22 Mar 2007, 1:45 PM
  4. NavBar inside BorderLayout
    By gcsolaroli in forum Ext 1.x: Help & Discussion
    Replies: 12
    Last Post: 30 Nov 2006, 5:45 AM
  5. issue with grid inside tab inside dialog
    By bernieberg in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 9 Oct 2006, 6:05 AM

Thread Participants: 1

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi