1. #1
    Ext JS Premium Member christocracy's Avatar
    Join Date
    Oct 2006
    Location
    Montreal
    Posts
    381
    Vote Rating
    0
    christocracy is on a distinguished road

      0  

    Default BasicDialog + YAHOO.widget.OverlayManager

    BasicDialog + YAHOO.widget.OverlayManager


    I'm having focus issues with dialogs.

    we won't be able to register BasicDialog with something like YAHOO.widget.OverlayManager, will we?

  2. #2
    Sencha - Ext JS Dev Team Animal's Avatar
    Join Date
    Mar 2007
    Location
    Notts/Redwood City
    Posts
    30,507
    Vote Rating
    56
    Animal has a spectacular aura about Animal has a spectacular aura about Animal has a spectacular aura about

      0  

    Default


    I'm thinking there could be some kind of yui-ext DialogManager.

    Keep a static list of existing BasicDialogs so that they can be managed in some way.

    Finding them, hding them all.

    Or displaying some kind of "taskbar", or context menu. Basically, some UI element which contains some representation of them - a set of icons, or just a stack of shortened title bars. This could be used to redisplay hidden Dialogs.

    On this theme, there should probably be 2 buttons. A distinction must be made between hide and destroy. Currently clicking the close, hides the dialog, and you can subscribe to that to optionally destroy it. I think there should be configurably two buttons offering two different events.

  3. #3
    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 would useful. I will look at implementing it.

    As for destroying the dialog, I won't ever wire anything directly to a button, but I could add a function to destroy it.

Similar Threads

  1. YAHOO.widget.Dialog and complex layouts
    By ismoore in forum Ext 1.x: Help & Discussion
    Replies: 11
    Last Post: 6 Aug 2009, 8:24 AM
  2. how to hide button after adding to Yahoo.ext.BasicDialog
    By ravichandra in forum Ext 1.x: Help & Discussion
    Replies: 5
    Last Post: 27 Feb 2007, 12:31 AM
  3. BasicDialog and Yahoo tooltip
    By alex1er in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 18 Feb 2007, 11:56 PM
  4. YAHOO.widget.calendar destroy
    By kolyan in forum Ext 1.x: Help & Discussion
    Replies: 4
    Last Post: 12 Jan 2007, 6:51 AM
  5. YAHOO.ext.BasicDialog - where are the Docs?
    By JohnT in forum Ext 1.x: Help & Discussion
    Replies: 3
    Last Post: 4 Nov 2006, 2:14 PM

Thread Participants: 2