阅读更多

4顶
0踩

编程语言

原创新闻 Spry 1.6 发布

2007-11-06 20:52 by 正式记者 melin 评论(0) 有5209人浏览
一直是我喜欢的东西。在页面展现数据是没的说的!改进的主要部分:
Data

    * By default, the XMLDataSet now entity encodes #text and #cdata strings before storing them in a data set column. This has a significant impact if you are embedding HTML fragments within CDATA, in your XML files, to inject content into a spry:region or spry:detailregion. A backwards compatibility mode is provided. See the XML Data Set String Handling and HTML Frags in XML samples.
    * The following Spry.Utils functions have been moved under the Spry.Data.XMLDataSet namespace:
          o Spry.Utils.nodeContainsElementNode
          o Spry.Utils.getNodeText
          o Spry.Utils.CreateObjectForNode
          o Spry.Utils.getRecordSetFromXMLDoc
    * Detection of MSXML is now limitied to versions 6.0 and 3.0, based on recommendations from the MS IE and XML teams. More info can be found here and here.
    * Upgraded Google AJAXSLT XPath support from version 0.4 to 0.7 to pick up bug fixes and stay current.
          o Upgrade fixes infinite loop bug with xpaths like: //folder/ancestor::folder, which was reported on the forum.
    * JSONDataSet
          o Fixed a bug in the pathIsObjectOfArrays code path that was assigning the same ds_RowID to every row that was flattened.
    * NestedJSONDataSet
          o Fixed loadData() so that it calls loadData() on the parent data set when necessary. This fixes the case where a nested data set is bound to a region but the parend data set isn't.
    * NestedXMLDataSet
          o Fixed loadData() so that it calls loadData() on the parent data set when necessary. This fixes the case where a nested data set is bound to a region but the parend data set isn't.
    * Added support for "and" and "or" multi-filter modes.
    * Added Spry.Data.initRegionsOnLoad flag. If set to true (the default value), regions are processed automatically when the onload event is fired. If false, developers must manually call Spry.Data.initRegions() manually to trigger processing.
    * Modified Spry.Data.initRegions() so that it only triggers updates for regions it processed. This allows us to call initRegions() multiple times for dynamically added regions without affecting existing regions.
    * Modified Spry.Data.DataSet.prototype.loadData(), Spry.Data.HTTPSourceDataSet.prototype.setDataFromDoc(), and Spry.Data.HTMLDataSet.prototype.loadData() so that they disable notifications before calling filterAndSortData(). This prevents an extra onDataChanged notfication from being fired off in the case where the data set must apply an existing filterDataFunc, filterFunc, sortOnLoad, or distinctOnLoad behavior.
4
0
评论 共 0 条 请登录后发表评论

发表评论

您还没有登录,请您登录后再发表评论

相关推荐

Global site tag (gtag.js) - Google Analytics