`
yesjavame
  • 浏览: 688444 次
  • 性别: Icon_minigender_2
  • 来自: 杭州
文章分类
社区版块
存档分类
最新评论

Ext JS 4 Preview Release 4发布

阅读更多

Release Notes for Ext JS 4 Preview Release 4

Release Notes: March 15, 2011
Version Number: 4.0.0pr4
Download: here
Release Notes

New In This Release

  • New Examples
  • General Bug Fixes
    • Fix error in slideIn/slideOut when optional duration is not specified
    • Fix and issue that can happen if only a single axis point is used in a bar chart
    • Ensure lastFocused is reset when refreshing the selection model
    • Fix EventManager issues with mouseenter/mouseleave events
    • Fix {memberExpression} selector parsing
    • Fix up alias for ArrayStore
    • Fix currency function to accept and convert a numeric String input value
    • Fix an issue where legend items don't remember their state between reload
    • Fix up allowEl option for within, it should be used as a fallback if the element isn't contained within the parent
    • Fix a highlighting issues with Pie
    • Correct use of "float" keyword as object property name
    • Fix buttons with noLinearGradients
    • Change how field layout handles horizontal sizing when no set width is specified It now uses the shrink-wrapped natural size of its body content plus label, rather than the width of the outermost element. This fixes layout issues when fields are used as hbox items, since the outer element has zero width during initial layout. It also prevents fields from expanding to the full width of their container by default, which is more consistent with the Ext3 behavior
    • Fix Box layout for when margins are specified in object for, but without all 4 properties. Default to zero
    • Remove extraneous quote in GroupingFeature template
    • Fix an issue when using autoHide and delegate with ToolTip
    • Fix Combo hiding when using the scroller in FireFox
    • Fix specificity of .x-form-invalid-field selector for textareas so the proper styling is shown
    • Fixed width of slider tips, and tips in general, in IE quirks mode. Switches tips to use the table framing so they don't expand to full viewport width. Removes the bad width-setting logic from Ext.slider.Tip so it is properly handled by the layout class
    • Fix box layout to correctly calculate middle alignment
    • Correctly autosize the innerCt according to max component size (now takes innerCt's borders into account)
    • Fix an issue when using a defaultValue with Boolean fields
    • Fix an issue when saving/loading a model and the request fails
    • Fix for improper font measurement in VML. Vertical header text should display more reliably. Still some work to do on adjusting for the font baseline.
    • Ensure button does not show mouseover when disabled
    • Fix call to cloneNode so it happens on the raw HTMLELement
    • Fix up a typo in the RemotingProvider
    • Fix an issue with form submissions with uploads
    • Fix typo that caused file uploads to fail
    • An autosized Panel which has been collapsed should now expand back properly
    • Fix an issue where the store would not reload when filters are cleared while using remoteFilter
    • Fix an issue where Model.setProxy would not accept a Proxy instance
    • Fix a problem in the ZIndexManager where if a modal Window showed another floating Component (such as the BoundList of a Picker Field), the modal mask is hidden during the period that the Window is not at the topmost position in the z-index stack. Now the modal mask is only hidden when there are no Modal floating Components (usually modal Windows) displayed
    • Fixed some IE 6/7/8 styles in Menu. IE6 had a "slit" in the item separator that is no longer there. Browsers without linear gradient support now use a nice looking background image for active items
    • Fix for Menu in Opera 10, which does not report an element's width if it is not a part of a render box. We have to temporarily add it to the body to perform a measurement
    • Change ReloadChart example to bind to the correct (left) axis
    • Fix issue where the bounding box cache in VML was not getting cleared when it's path changes
    • Fix toolbar button spacing in IE7 strict mode
    • Fix an issue with split buttons where the arrow wasn't completely clickable
    • Fix some issues with state track in Model
    • Fix Box Layout calculation effecting margins
    • Fix endDrag call to afterBoxReflow
    • Fix an issue rendering bar chart categories in the wrong order
    • Fix an issue when trying to position a floating component at 0,0
    • Fix a chart display issue when using a single series in a vertical legend
    • Fix an issue where the chart legend would move on redraw when using position: float
    • Ensure hidden fields don't have any effect on form display
    • Fix vertical alignment of paging toolbar number field
    • Fix a problem where Windows do no display an icon when configured with a valid iconCls
    • Fix bug in ComponentQuery, when using {expression} matching. Only the first {expression} used would ever be matched resulting in incorrect results.
    • Fix styling of fieldset legends
    • Fix height of text/trigger fields in IE quirks mode
    • Fix spinner button sprite states when field is focused
    • Fix an issue where viewports in IE6/7 would show a scrollbar by default
    • Fix dependencies for Border Layout and Splitter classes
    • Fix an issue when using non-string values in combo
    • Fix an issue when using a belongsTo association and loading the parent object
    • Fix an issue where RestProxy requests were being batched
    • Fix sizes of Buttons in ButtonGroup
    • Fix an issue when using an itemId in a border layout region
    • Fix an issue where space was being reserved in IE7 for side error icon when there is no error
    • Fix typo in throw error message in initframe
  • General Enhancements
    • Introduced a TreePanel capable of supporting multiple headers. Abstracted shared logic between the Tree and Grid into a TablePanel class.
    • Tab overflow implemented
    • Menu overflow implemented
    • Drag and Drop for Dataviews implemented
    • Implemented Tree and Grid drag and drop
    • FocusManager implemented (Jarred ELABORATE)
    • HTMLEditor implemented
    • Ext Direct implemented, with a new DirectProxy
    • Add support to ComponentQuery to accept member expression selectors in pseudo-class selectors
    • Support member expression selectors for ComponentQuery in the same way as attribute selectors, by allowing them to occur anywhere within a single selector chain to further filter the working group of items
    • Added inheritable statics for Classes
    • Refactor cleanup for Scatter Series
    • Ensure doLayout doesn't run a layout that is already in progress
    • Implement pruneRemoved for Ext.selection.Model
    • Ensure selection model is refreshed when DataView is refreshed or records are added
    • Create a reference to the Ext sandbox instance in generated functions
    • Increment snap ends `to` argument properly
    • Add feed viewer icon
    • Box layout. Correct allocation of spare space to non-flexed items after a shortfall has caused a reduction to minSize
    • Button layout: Now sets the outer element width if a numeric width passed
    • Added "focusable: false" to menu & toolbar separators so they are not candidates for gaining focus
    • Updated Ext.menu.* to play nicely with Ext.FocusManager when enabled
    • Menu: Constrain to within browser viewport and use box layout scroll overflow handler
    • Implement disabled style for horizontal scroller
    • Implement Ext.tree.SelectionModel handling for left/right in the flattreeview. Turn it on in the TreePanel
    • Enforce that user clicks expander to toggle a record
    • Ensure that collapsed region placeholders are z-indexed above slide-ins
    • Border layout now honors the floatable: false config
    • Menus no longer access elements that are not rendered
    • MenuManager now uses Ext.Array.remove instead of calling remove on the Array instance
    • Ensure a region isn't floated if floatable: false is specified.
    • DataView now ensures the selections get refreshed when the view does
    • Implemented button as a link when an href/url is configured
    • Implementes initial collapse state to collapse when the outermost Container (usually a Viewport) has been layed out, or, if no Container, on first component layout
    • Removed legacy images file
    • The framing method for non-CSS3 browsers which uses a table is necessary for proper width of floated components in IE quirks mode. Some floated components, such as Tip, have Dock layout which requires being able to insert docked items directly into the outermost element; this was failing when the outermost element was the table element. Changed to have a div as the outermost element with the table as an immediate child
    • Prevent validation when initializing the field value, rather than validating but then clearing errors
    • Apply correct CSS classes to Panel headers within collapsed Panels so that bordering can be kept consistent
    • Add rule for column layout child items. They must float:left
    • Implement 3.x style Column layout where child items float across the Container (Note this API is not finalized and may change)
    • Labels for vertical axis are now hidden when they're too close to each other (or overlapping)
    • Implemented weighting on docked items by returning a sorted array based on a weight property in AbstractPanel's getDockedItems method. Default weight is 0
    • Addition code to ensure the data proxy gets its params correctly
    • A parent menu's hide timer (on mouse leave) will be cancelled when hovering over a submenu
    • Add x-quirks to when we're in quirks mode (!Ext.isStrict), useful for CSS that must know whether or not in quirks mode, as x-border-box is applied on all browsers that aren't IE6/7 in both quirks and strict modes
    • Implemented hideHeaders and provide backwards compat layer for preventHeaders
    • Implement fill:false in Accordion layout which means that expanded child Panels are not fitted within the accordion Container, but assume their natural height. Implement multi:true which allows multiple items to be opened at once when using fill:true. The opened Panels share available space by using the Box layout flex config
    • Implement a Component click event in Header. This is for use by Panel's titleCollapse configuration
    • Accordion layout now propagates its Panel-specific configurations to child Panels
    • Implement titleCollapse for Panel
    • Added writeAllFields method to the data writers
    • Add beforeselect event to DataViewModel
    • Restored original fonts and font-weights in the default theme to be the same as of 3.3
    • Class.override now adds an owner reference to methods that didn't exist in the superclass yet
    • Users can now override the sortParam used when sorting a particular Header
    • Ensure we use the browser normalized array methods for DataView
    • Add a findLayoutController method which goes up the ownerCt chain to find the highest currently active layout so that afterlayout events may be tracked to fire when a final size has been arrived at
    • Card layout now calls afterLayout on the card Container after card activation
    • Refactor getWidth, getHeight, and getViewSize to account for IE quirks mode measurement issues when a container is overflowed
    • TabBar now scrolls the active tab into view upon set of active tab
    • Added new isIEQuirks flag
    • Tweak bar/column chart starting points so they don't overlap the axis
    • Ensure box layout takes border space of the innerCt into account when centering
    • Tooltips no longer get focus when they call toFront()
    • Users may now provide their own CSS rules for enabling overflow on other box layout Containers. Currently we support Menu, Toolbar and TabBar overflowing.
    • Window will now force the header creation if draggable is set to true
    • Added a new Body Component layout for Components which maintain an inner body element which must synchronize its size with the encapsulating element
    • FieldSet now uses a Component layout to synchronize the size of its body element with the size available within its main, encapsulating element
    • Due to the use of the descendant selector for setting float/etc on field labels, fields nested within a FieldContainer would always get the styles corresponding to the container's labelAlign, even if their own labelAlign was different. Changed it so the label alignment className is now given directly to the label element rather than the parent, so the CSS no longer has to use descendant selectors
    • The Trigger component layout was setting the height of the input field based on the incoming requested height; single-line input fields should always get their height from the CSS and ignore the layout's height
    • Made AbstractDataView less strict in the type of parameter it accepts as a target for getRecord. It may now be an HtmlElement or an Ext.Element
    • Added a frameHeader config which turns on/off framing on the Panel Header
    • Added a ComponentLayout for Editor
    • Ensure formBind is updated when the form is first created & when items are added/removed
    • Added the ability to assign a custom reader for reading associations
  • API Changes
    • Added destroy method to Model
    • Move getItemForPoint up to Series and implement isItemInPoint in each series
    • Added static methods for DataView
    • Containers calls to doLayout will call ComponentLayout instead of ContainerLayout when they don't have dimensions (autosized)
    • Change ComponentQuery's member expression filter function to use an "items" argument rather then accessing arguments.callee.caller.arguments, to be ES5/strict compliant and more straightforward
    • Remove the use of arguments.callee from EventManager.createListenerWrap, and instead give a named reference to the return function. ES5/strict compliant, and works in all browsers
    • Ensure DataView uses getItemSelector() when firing events
    • Changed $prefix in scss to include `x-` not just `x`
    • Remove box scroller subclasses. There's only one now which handles perpendicular/parallel
    • Box layouts: new properties for use by box layout overflow handlers
    • All box layout overflow scrolling is handled by a single class: Scroller
    • TabBar now removes header text item and tool spacer. Use scroller overflow handler
    • Added a new preventDefault option to button
    • Remove HorizontalMenu class. There is only one Menu overflow handler
    • Move scroll-specific methods out of overflow handler base class into the Scroll handler
    • Added extra menu-active cls with btn.ui into menuShow
    • Added menu-active cls to css
    • Add slider layout class as dependency
    • Not all floating components should be automatically focused when they are brought to the front; this adds a focusOnToFront config to control that behavior on a class or instance basis. Defaults to true, but is overridden to false in Tip and in the BoundList instances created by ComboBox and Time fields, to prevent losing field focus
    • Ext.grid.View renamed to Ext.view.TableView
    • Throw an error message when trying to bind to an event handler that doesn't exist
    • Add a border to collapsed panel headers depending on their docked position
    • Renamed the legacySortMode config to simpleSortMode
    • Added new API config for Server proxy and subclasses
    • Removed Class.extend method (not to be confused with Ext.extend)
    • Removed unused getHead method from Ext.data
    • Ext.util.Date.parseDate changed to Ext.util.Date.parse. Add deprecaton for the older parseDate API.
    • Unified Element and Element.static addUnits method which checks for a valid number or unitized String and throws a wraning message if a NaN is passed
    • Changed "operation-complete" event in Batch to "operationcomplete"
  • Compatibility Changes
    • Added Ext.lib.Ajax compat
    • Added Ext.reg / ComponentMgr.regiserType aliases
    • Fixed editor example's Panel.header reference
    • Include css for message box example
    • Alias Ext.lib.Dom.* to Element
    • Fixed registerType/reg aliases, added registerPlugin/preg
    • Moved legacy-only fx methods to compat file
    • Moved Component overrides from core-compat to compat
    • Added console msg about setting showErrors flag
    • Compat fix for loading stores with an inline data object
    • Moved xtype aliases from core-compat to compat
    • Added additional non-Core JS object prototype aliases
    • Ext.util.Date compat overrides
    • Additional msg for instance methods becoming statics
    • Added Ext.extend to the compat file, fixed a null error if members arg is not passed
    • Added Store.setDefaultSort compat override
    • Added GridPanel and Model compat overrides
    • Added applyTo message to Ext.Component
    • Added Ext.Compat.breaking() to show breaking changes
    • Added appropriate messaging for most of the compat configs
    • Moved compat items from combobox into the compat file
    • Renamed Ext.Base.extend -> Ext.Base.addStatics, deprecated Ext.Base.implement for Ext.Base.extend. In short, from now on, use MyClass.addStatics for statics members, MyClass.extend for prototype members
    • Fixed tpl alias to implement the getInnerTpl method correctly
    • Added isDef checks where needed to log messages only for defined configs
    • Add compatibility for overriding Ext.form.Field.prototype.msgTarget
    • Add compatibility handler for old implicit column containers in the CheckboxGroup/RadioGroup items
    • AbstractStore and Store overrides for reconfiguring reader/proxy config if needed
    • Aliased store.url support
    • Reader support for optional recordType 2nd arg to constructor
    • XmlReader constructor override to alias configs
  • Known Issues
    • Portal example not correct in IE6
    • Toolbar menu overflow not styled in IE6
    • Charts do not render properly in Safari 3.2
    • Minor styling issues with forms/tabs/buttons (primarily in IE6/7)
    • Menu links still need styling
    • Minor clipping of panel header text in Opera and IE6/7
分享到:
评论

相关推荐

    EXT设计器 Ext Designer Preview非官方版

    EXT JS是一种基于JavaScript的富客户端应用开发框架,它提供了一系列强大的组件和API,用于创建交互式、数据驱动的Web应用程序。EXT Designer是Sencha公司开发的一款预览版设计工具,旨在帮助开发者更高效地设计和...

    Ext JS 4 Architecture

    Ext JS 4是一个成熟的JavaScript框架,用于开发富互联网应用程序,特别是那些需要运行在各种设备上的复杂、数据密集型的前端界面。Ext JS 4在架构层面体现了高度的模块化和可扩展性,这也是它区别于其他前端框架的一...

    Ext Designer Preview

    2.xds_preview.air ------------ Ext 3.0 Designer Preview 首先安装软件1然后再安装软件2 看看吧,他能给你带来很HIGH的EXT图形化界面 组件支持拖拽。 支持另存,但不支持保存。另外该软件是官方个预览版。 好...

    Ext Designer Preview设计软件

    Ext Designer Preview是一款专业级的前端开发工具,专为创建基于Ext JS框架的用户界面而设计。这款设计软件提供了一个直观的拖放环境,允许开发者和设计师高效地构建复杂的Web应用程序的用户界面。它大大简化了Ext ...

    EXT可视化工具,Ext_Designer_Preview附带安装说明.rar

    4. 配置环境:安装过程中,可能需要指定EXT JS的库路径,以便Designer可以识别和使用EXT JS的组件。 5. 启动Designer:安装完成后,可以从开始菜单或桌面快捷方式启动EXT Designer。 在“1.bmp”这个文件中,可能是...

    EXT js 4带时间的日期控件

    EXT JS 是一个强大的JavaScript前端框架,专用于构建富客户端应用。EXT JS 4 版本在日期控件方面提供了丰富的功能,使得开发者可以方便地处理日期和时间输入。在这个特定的资源中,我们关注的是一个集成时间选择的...

    ext JS 源码和学习资料

    本压缩包包含EXT JS的多个版本源码,如ext-3.2.0、ext3.3.1和ext4,以及对应的中文API文档和实用学习资料,对于想要深入理解EXT JS或提升EXT JS开发技能的人来说是宝贵的资源。 一、EXT JS 源码分析 EXT JS 的源码...

    Ext JS 4 First Look

    《Ext JS 4初探:全面解析与迁移指南》 一、引言 《Ext JS 4初探》是一本由Loiane Groner撰写的专为开发者设计的实用指南,旨在帮助他们理解和掌握Ext JS 4的新特性,并提供从Ext JS 3迁移到最新版本的策略和技巧...

    Practical Ext JS 4

    本书从基础的JavaScript知识点开始,逐步过渡到Ext JS 4的面向对象编程概念,重点介绍了Ext JS的UI组件、布局以及核心功能,包括MVC架构、应用程序的主题与样式设计、以及如何通过网格、树形控件和图表等组件展示...

    EXT设计器 Ext Designer Preview非官方版(第二部分)

    EXT JS是一个JavaScript库,提供了丰富的用户界面组件和数据绑定机制,广泛应用于企业级Web应用开发。EXT Designer Preview是非官方的扩展版本,针对官方预览版进行了功能增强,特别是增加了代码导出这一重要特性。 ...

    springMVC整合ext4js

    Spring MVC作为Java后端的主要MVC框架,提供了强大的控制层支持,而Ext4JS则是一个流行的JavaScript库,用于构建富客户端应用。通过整合这两者,我们可以构建出具有高效数据管理和用户友好的界面的Web应用。 首先,...

    Learning Ext JS 4 pdf

    Learning Ext JS 4 by Crysfel Villa and Armando Gonzalez (Oct 8, 2012) $49.99 Paperback Order in the next 13 hours and get it by Tuesday, Mar 19. More Buying Choices - Paperback $46.48 new (17 ...

    Ext Designer Preview3.0汉化版,可生成代码

    4. **生成代码**:Ext Designer的一大优势在于它可以生成Ext JS的源代码,这些代码反映了在设计视图中创建的布局和组件。这使得开发者可以深入理解生成的代码,并根据需要进行修改和优化。 在实际开发中,使用Ext ...

    Ext JS学习资料

    自发布以来,Ext JS 不断迭代更新,版本4(Ext JS 4)更是引入了许多新特性,成为前端开发者们关注的焦点。 #### 二、Ext JS 4 主要特点 1. **组件化设计**:Ext JS 4 强调组件化的开发模式,使得开发者能够更加...

    EXT JS 4自学手册

    EXTjs4自学手册.docx,适用用新手学习EXT JS 4

    Ext JS 7.6.0.41 SDK

    # Sencha Ext JS This is the Sencha Ext JS Framework Package, or just "ext" for short. Release Notes for Ext JS 7.6.0 Release Date: Thu Apr 28 2022 Version Number: 7.6.0.41

    [Ext JS] Ext JS 实战 第2版 英文版

    ll learn the best practices for building and scaling full featured web applications including how to customize and build Ext widgets Fully revised for Ext JS 4 0 ☆ 出版信息:☆ [作者信息] Jesus ...

    Ext Designer Preview 中文汉化版本

    Ext Designer Preview 是一款专为开发基于Ext JS框架的用户界面设计工具,它的中文汉化版本使得中国用户在设计复杂的Web应用程序界面时能够更加方便地理解并操作。此工具旨在简化Ext JS开发流程,通过可视化的方式来...

    EXT2.0,EXT4.0,JS

    EXT2.0、EXT4.0 和 JS 是计算机科学领域中的三个重要概念,它们分别代表了Linux文件系统、JavaScript编程语言以及JavaScript库EXT JS的相关版本。 EXT2.0是Linux操作系统下的一种文件系统,它是EXT(第二扩展文件...

Global site tag (gtag.js) - Google Analytics