1. #551
    Ext JS Premium Member
    Join Date
    Oct 2008
    Location
    Nuremberg, Germany
    Posts
    49
    Vote Rating
    0
    dreas is on a distinguished road

      0  

    Default


    [implemented]

    Just in case that page went to /dev/null the internet archive is keeping a few copies of it. I attached the last copy of that page to this post since it took forever to load.

  2. #552
    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


    [implemented]

    Quote Originally Posted by dreas View Post
    Just a minor one...


    Class Ext.DomHelper

    "For more information and examples, see the original blog post."


    That link to Jack's blog isn't valid anymore.
    I thought I remember someone removing that link...oh well. I ported it to the wiki http://extjs.com/learn/TutorialomHelper_Blog

  3. #553
    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


    [implemented]

    OK, I just brought that entry a couple of years up to date!

    I'll add a link to it from the API docs. Thanks for saving that into the Wiki MJ.

  4. #554
    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


    [implemented] - fixed closing tag

    monitorValid

    small formatting problem:

    If true, the form monitors its valid state client-side and regularly fires the clientvalidation event passing that state.

    When monitoring valid state, the FormPanel enables/disables any of its configured buttons which have been configured with formBind: true depending on whether the form is valid or not.
    should be

    If true, the form monitors its valid state client-side and regularly fires the clientvalidation event passing that state.

    When monitoring valid state, the FormPanel enables/disables any of its configured buttons which have been configured with formBind: true depending on whether the form is valid or not.
    Edit: I'm attaching a screenshot because the source code looks like it should format it like I'm suggesting already?!
    Attached Images

  5. #555
    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.Layer undocumented properties.

    I went looking for getZIndex, but there's probably a couple more that could be documented.


    Code:
        getZIndex : function(){
            return this.zindex || parseInt(this.getStyle("z-index"), 10) || 11000;
        },
    
        getShim : function(){
    
        },
    
        hideShim : function(){
    
        },
    
        disableShadow : function(){
    
        },
    
        enableShadow : function(show){
    
        },

  6. #556
    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.Window

    Suggest being more specific, the term "window" is confusing since this description is within the Ext.Window class.

    Code:
        /**
         * Anchors this window to another element and realigns it when the browser window is resized or scrolled.
         * @param {Mixed} element The element to align to.
         * @param {String} position The position to align to (see {@link Ext.Element#alignTo} for more details)
         * @param {Array} offsets (optional) Offset the positioning by [x, y]
         * @param {Boolean/Number} monitorScroll (optional) true to monitor body scroll and reposition. If this parameter
         * is a number, it is used as the buffer delay (defaults to 50ms).
         * @return {Ext.Window} this
         */
        anchorTo

  7. #557
    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


    Code:
    /**
     * @class Ext.Layer
     * @extends Ext.Element
     * An extended {@link Ext.Element} object that supports a shadow and shim, constrain to viewport and
     * automatic maintaining of shadow/shim positions.
     * @cfg {Boolean} shim False to disable the iframe shim in browsers which need one (defaults to true)
     * @cfg {String/Boolean} shadow True to automatically create an {@link Ext.Shadow}, or a string indicating the 
     * shadow's display {@link Ext.Shadow#mode}. False to disable the shadow. (defaults to false)
     * @cfg {Object} dh DomHelper object config to create element with (defaults to {tag: "div", cls: "x-layer"}).
     * @cfg {Boolean} constrain False to disable constrain to viewport (defaults to true)
     * @cfg {String} cls CSS class to add to the element
    
     * @cfg {Number} id
     * @cfg {String} parentEl
     * @cfg {Boolean} useDisplay
    
     * @cfg {Number} zindex Starting z-index (defaults to 11000)
     * @cfg {Number} shadowOffset Number of pixels to offset the shadow (defaults to  3  4). Note that this option only applies when floating = true. 
     * @constructor
     * @param {Object} config An object with config options.
     * @param {String/HTMLElement} existingEl (optional) Uses an existing DOM element. If the element is not found it creates it.
     */
    (function(){
    Ext.Layer = function(config, existingEl){
        ...
        var cp = config.parentEl,
        ...
        if(config.id){
            this.id = this.dom.id = config.id;
        }else{
            this.id = Ext.id(this.dom);
        }
    
            this.shadowOffset = config.shadowOffset || 4;
        ...
        this.useDisplay = config.useDisplay;

  8. #558
    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


    On a matter of style, the documents frequently refer to a parameter which may be an Ext.Element, or the ID of an element, or an "HtmlElement".

    I think I should do a mass edit and change all of these "HtmlElement" references to the more technically correct "DOMElement" to indicate that what is being referred to is a DOM node of nodeType 1: A DOM Element

    "HTML" is the name for a textual description of what the proposed DOM structure is going to be.

    Its the same as when people have a javascript object and they call it "JSON". JSON is a string representation, not the object. It's the same with HTML. HTML is the string representation. When in the browser, you are dealing with a Document Object Model.

    Anyone against these changes in the 3.0 code branch?

  9. #559
    Sencha - Community Support Team Condor's Avatar
    Join Date
    Mar 2007
    Location
    The Netherlands
    Posts
    24,246
    Vote Rating
    94
    Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of Condor has much to be proud of

      0  

    Default


    DOMElement also isn't 100% correct. The DOM1 specs mentions Element and HTMLElement.

    So the API docs should mention (DOM) Element in the context of DOM nodes (DomQuery, XmlReader) and HTMLElement when referencing elements in the HTML document.

  10. #560
    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 see, thanks for that info. So it's HTMLElement for elements of an HTML DOM, and DOMElement when dealing with XML. I will try to ensure consistency when I edit.

Thread Participants: 182

  1. JeffHowden (3 Posts)
  2. Animal (64 Posts)
  3. tryanDLS (10 Posts)
  4. christocracy (1 Post)
  5. jarrod (2 Posts)
  6. jay@moduscreate.com (21 Posts)
  7. JTM (1 Post)
  8. vtswingkid (1 Post)
  9. young_matthewd (3 Posts)
  10. sjivan (1 Post)
  11. yogurtearl (1 Post)
  12. Condor (34 Posts)
  13. mdissel (2 Posts)
  14. steve.neill (4 Posts)
  15. mikegiddens (3 Posts)
  16. rmesser (1 Post)
  17. jweber (1 Post)
  18. aconran (8 Posts)
  19. vmorale4 (13 Posts)
  20. tof (4 Posts)
  21. stever (1 Post)
  22. berend (3 Posts)
  23. Jul (16 Posts)
  24. bone (2 Posts)
  25. timb (1 Post)
  26. punkrider (2 Posts)
  27. dolittle (4 Posts)
  28. papasi (1 Post)
  29. kimu (1 Post)
  30. willydee (2 Posts)
  31. dotnetCarpenter (1 Post)
  32. steven (3 Posts)
  33. DeyV (1 Post)
  34. cdomigan (1 Post)
  35. JorisA (2 Posts)
  36. MaxT (3 Posts)
  37. jsakalos (2 Posts)
  38. tellioglu (2 Posts)
  39. architect (1 Post)
  40. ksachdeva (1 Post)
  41. PFM (1 Post)
  42. evant (4 Posts)
  43. thesilentman (4 Posts)
  44. para (2 Posts)
  45. sj137 (6 Posts)
  46. J.C. Bize (3 Posts)
  47. Jonno70 (1 Post)
  48. splintor (9 Posts)
  49. mribbons (1 Post)
  50. danh2000 (1 Post)
  51. loeppky (2 Posts)
  52. mdm-adph (3 Posts)
  53. NBRed5 (1 Post)
  54. meej (1 Post)
  55. tobiu (1 Post)
  56. patspam (1 Post)
  57. gimbles (2 Posts)
  58. jan1234 (2 Posts)
  59. Ytorres (1 Post)
  60. aparajita (4 Posts)
  61. carol.ext (2 Posts)
  62. end-user (3 Posts)
  63. nicora (1 Post)
  64. devnull (4 Posts)
  65. AdamDawes (1 Post)
  66. mjlecomte (92 Posts)
  67. BlackICE1979 (1 Post)
  68. vincentc (1 Post)
  69. rednix (3 Posts)
  70. hansellh (1 Post)
  71. TaterSalad (1 Post)
  72. aptana_michelle (1 Post)
  73. Trixor (3 Posts)
  74. Iveco (1 Post)
  75. mscdex (4 Posts)
  76. watrboy00 (8 Posts)
  77. pic_Nick (1 Post)
  78. tohagan (1 Post)
  79. gimler (1 Post)
  80. smcguire36 (1 Post)
  81. ziesemer (2 Posts)
  82. balou (1 Post)
  83. yarmy (1 Post)
  84. jerrybrown5 (1 Post)
  85. abent (1 Post)
  86. lvanderree (4 Posts)
  87. Greenosity (1 Post)
  88. tjcrowder (18 Posts)
  89. treffer (2 Posts)
  90. SeaSharp (3 Posts)
  91. dhurlburtusa (1 Post)
  92. neshaug (2 Posts)
  93. tony_k (1 Post)
  94. Jim McCabe (1 Post)
  95. dyndan (1 Post)
  96. Hemlock (1 Post)
  97. runnersixty (1 Post)
  98. stoober (1 Post)
  99. battisti (1 Post)
  100. slobo (1 Post)
  101. plan-r (2 Posts)
  102. joeaudette (1 Post)
  103. paradawks (1 Post)
  104. saJoshua (7 Posts)
  105. t34 (6 Posts)
  106. markpele (1 Post)
  107. Gordon76 (1 Post)
  108. mankz (3 Posts)
  109. cblin (1 Post)
  110. jasonbronson (3 Posts)
  111. stebru (1 Post)
  112. Enes (1 Post)
  113. jburnhams (1 Post)
  114. david.james (1 Post)
  115. krystian (1 Post)
  116. erlando (1 Post)
  117. asteidle (1 Post)
  118. iamnoah (1 Post)
  119. molasses (1 Post)
  120. jonn (3 Posts)
  121. jhurst (1 Post)
  122. Starfall (14 Posts)
  123. creusois (1 Post)
  124. silvereen (1 Post)
  125. vilivili (2 Posts)
  126. jezmck (1 Post)
  127. nbourdeau (1 Post)
  128. YarivYaari (1 Post)
  129. luv2hike (1 Post)
  130. mrileyaz (1 Post)
  131. jmcneese (1 Post)
  132. treqx (1 Post)
  133. willdudziak (1 Post)
  134. NOSLOW (3 Posts)
  135. tomcheng76 (2 Posts)
  136. jove4015 (1 Post)
  137. xpurpur (1 Post)
  138. mknopp (1 Post)
  139. aurelien (2 Posts)
  140. nctag (5 Posts)
  141. pbuyle (1 Post)
  142. keckeroo (2 Posts)
  143. vcastel (1 Post)
  144. switch (1 Post)
  145. dcesarnascimento (1 Post)
  146. mirko (1 Post)
  147. mdkalman (1 Post)
  148. nb (1 Post)
  149. makana (2 Posts)
  150. fins (1 Post)
  151. NoahK17 (1 Post)
  152. Answerfor (1 Post)
  153. russn (1 Post)
  154. accilies (1 Post)
  155. SamuraiJack1 (1 Post)
  156. Eric24 (2 Posts)
  157. Funcracker (5 Posts)
  158. oxyum (1 Post)
  159. SoreGums (1 Post)
  160. Berni (1 Post)
  161. photomo (1 Post)
  162. nicktak (1 Post)
  163. don_luiz (2 Posts)
  164. wwarby (7 Posts)
  165. hAmpzter (1 Post)
  166. masuran (1 Post)
  167. ben_dog (3 Posts)
  168. thboileau (4 Posts)
  169. kds.chris (1 Post)
  170. salewski (1 Post)
  171. Mjollnir26 (1 Post)
  172. mikamikaze (1 Post)
  173. dreas (2 Posts)
  174. mschwartz (1 Post)
  175. jililv (2 Posts)
  176. TinKim (1 Post)
  177. zgrose (1 Post)
  178. martinjrb (1 Post)
  179. flinz (2 Posts)
  180. PierceSD (1 Post)
  181. dlgoodchild (1 Post)
  182. brian.moeskau (12 Posts)