1. #1
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default Ext.ux.MessageWindow

    Ext.ux.MessageWindow


    Influenced by the original ToastWindow/Notification Class by Edouard Fattal

    Class: Ext.ux.window.MessageWindow
    Docs: Ext.ux.window.MessageWindow
    Demo: here

    Docs have additional description of features etc.




    Known Issues/Bugs:
    1. Repeating message window is draggable, however need to implement (optionally) locking the y axis, and updating the x position after drag so new messages could (optionally) show up in new location.
    2. Positioning of additional MessageWindow instances when the height of each MessageWindow varies needs attention. The position calculation will need to examine the heights of all items for that MessageWindow Manager. A little complicated depending on if prior Message Windows have been removed from the Manager where new ones should show up. Would need to do something more complicated like check the space available to see if the new MessageWindow would bump into or overlap current MessageWindows.

    v0.08
    • togglePinState missing event fixed.

    v0.02
    • IE bug for repeating message window appears to be gone.

    v0.01 - initial

  2. #2
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Hi,

    Multiple errors in IE.

    Thanks in advance,

  3. #3
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Still alpha, but the IE errors appear to be gone now.

  4. #4
    Sencha User galdaka's Avatar
    Join Date
    Mar 2007
    Location
    Spain
    Posts
    1,166
    Vote Rating
    -1
    galdaka is an unknown quantity at this point

      0  

    Default


    Quote Originally Posted by mjlecomte View Post
    Still alpha, but the IE errors appear to be gone now.
    Oh Sorry,

    Why dont you make this modifications throught addons to the original component?


    Greetings,

  5. #5

  6. #6
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Any reason why there are two onRender methods defined? Also, is there a specific approach to get the 'closable' option to work?

    Thanks!

  7. #7
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    I found the CSS that was hiding the close button.

  8. #8
    Ext JS Premium Member
    Join Date
    Mar 2008
    Location
    Phoenix, AZ
    Posts
    627
    Vote Rating
    10
    zombeerose will become famous soon enough zombeerose will become famous soon enough

      0  

    Default


    Just a suggestion...
    How about adding an anchor config that could get used by the slideIn and default cases to avoid the fixed "b" anchor? Or maybe a showFx config so other options can get changed.

    Thx

  9. #9
    Ext User
    Join Date
    Jul 2007
    Location
    Florida
    Posts
    9,996
    Vote Rating
    6
    mjlecomte will become famous soon enough mjlecomte will become famous soon enough

      0  

    Default


    Quote Originally Posted by zombeerose View Post
    Just a suggestion...
    How about adding an anchor config that could get used by the slideIn and default cases to avoid the fixed "b" anchor? Or maybe a showFx config so other options can get changed.

    Thx
    I still have some doc cleanups to do as you noticed. Only the second onRender is effective since it's overridden.

    If you go to the docs page linked in the first post you'll notice that your showFx config was on the "to do" list, with a couple others outstanding. As you may have noticed could basically just provide similar configs that the hide method has as I recall.

    I don't know what you mean by the css.

    If you implement the changes you want or need please send them along and I'll incorporate them into the ux.

  10. #10
    Ext JS Premium Member watrboy00's Avatar
    Join Date
    Aug 2007
    Location
    Minneapolis, MN
    Posts
    473
    Vote Rating
    0
    watrboy00 is on a distinguished road

      0  

    Default


    Type 'toast' like the message says. On a popup window click the pin tool then click the inner message of the window and you get an error in FF2

    Code:
    event is not defined
    togglePinState()MessageWindow.js (line 571)
    handleClick(Object browserEvent=Event mousemove button=0)MessageWindow.js (line 669)
    h(Object browserEvent=Event mousemove button=0)ext-all-debug.js (line 1613)
    getViewWidth(click clientX=0, clientY=0)ext-base.js (line 10)
    
    [IMG]chrome://firebug/content/blank.gif[/IMG]            this.handleUnpin(event, this.tools.pin, this);
    Eric Berens
    Intranet Systems Manager @ Best Buy
    You should follow me on twitter here.