From: <Se...@us...> - 2009-04-21 17:12:40
|
Revision: 3800 http://jaffa.svn.sourceforge.net/jaffa/?rev=3800&view=rev Author: SeanZ Date: 2009-04-21 17:12:29 +0000 (Tue, 21 Apr 2009) Log Message: ----------- reformating using Aptana. Modified Paths: -------------- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderOutDto.js Modified: trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderOutDto.js =================================================================== --- trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderOutDto.js 2009-04-21 16:13:12 UTC (rev 3799) +++ trunk/JaffaRIA/source/html/js/extjs/jaffa/finder/FinderOutDto.js 2009-04-21 17:12:29 UTC (rev 3800) @@ -2,73 +2,64 @@ * @class Jaffa.data.FinderOutDto * This is the base class for MetaData instances used by the Finder widgets. */ -Jaffa.data.FinderOutDto = function(config) { +Jaffa.data.FinderOutDto = function(config){ + /** + * @cfg {String/Array} key The key field(s). This is a required property. + */ + /** + * @cfg {Object} fields An object containing the fields returned by the Finder. Each field will be an Object containing field mapping information. This is a required property. + */ + Ext.apply(this, config); + + this.finder = Ext.applyIf(this.finder ? this.finder : {}, { /** - * @cfg {String/Array} key The key field(s). This is a required property. + * @cfg {String} DWRFunctionName The DWR function to be used for invoking the Finder. This is a required property. */ - /** - * @cfg {Object} fields An object containing the fields returned by the Finder. Each field will be an Object containing field mapping information. This is a required property. + * @cfg {String} DWRFunctionInput The optional argument to be passed to the DWR function. */ - - Ext.apply(this, config); - - this.finder = Ext.applyIf(this.finder ? this.finder : {}, { - /** - * @cfg {String} DWRFunctionName The DWR function to be used for invoking the Finder. This is a required property. - */ - - /** - * @cfg {String} DWRFunctionInput The optional argument to be passed to the DWR function. - */ - - /** - * @cfg {String} orderByFields The optional argument to be passed to the DWR function for sorting the output from the Finder. - */ - - totalProperty: 'totalRecords', - root: 'rows' - }); - - this.finder.combo = Ext.applyIf(this.finder.combo ? this.finder.combo : {}, { - /** - * @cfg {Array} columns An array of fields to be added to the underlying Store of a FinderCombo. This is a required property. - */ - - maxRecords: 25 - }); - - this.finder.combo.config = Ext.applyIf(this.finder.combo.config ? this.finder.combo.config : {}, { - /** - * @cfg {String} valueField The underlying data value name to bind to this ComboBox. This is a required property. - */ - - /** - * @cfg {String} displayField The underlying data field name to bind to this ComboBox. This is a required property. - */ - - mode: 'remote', - minChars: 0, - triggerAction: 'all', - maxHeight: 150, - resizable: true - }); - - this.finder.grid = Ext.applyIf(this.finder.grid ? this.finder.grid : {}, { - /** - * @cfg {Array} columns An array of fields to be added to the underlying Store of a FinderGridPanel. This is a required property. - */ - - pagingSize: 15, - popupAlways: false, - showCriteria: false - }); - - this.finder.grid.config = Ext.applyIf(this.finder.grid.config ? this.finder.grid.config : {}, { - enableColLock: false, - loadMask: true, - height:385, - width:400 - }); - + /** + * @cfg {String} orderByFields The optional argument to be passed to the DWR function for sorting the output from the Finder. + */ + totalProperty: 'totalRecords', + root: 'rows' + }); + + this.finder.combo = Ext.applyIf(this.finder.combo ? this.finder.combo : {}, { + /** + * @cfg {Array} columns An array of fields to be added to the underlying Store of a FinderCombo. This is a required property. + */ + maxRecords: 25 + }); + + this.finder.combo.config = Ext.applyIf(this.finder.combo.config ? this.finder.combo.config : {}, { + /** + * @cfg {String} valueField The underlying data value name to bind to this ComboBox. This is a required property. + */ + /** + * @cfg {String} displayField The underlying data field name to bind to this ComboBox. This is a required property. + */ + mode: 'remote', + minChars: 0, + triggerAction: 'all', + maxHeight: 150, + resizable: true + }); + + this.finder.grid = Ext.applyIf(this.finder.grid ? this.finder.grid : {}, { + /** + * @cfg {Array} columns An array of fields to be added to the underlying Store of a FinderGridPanel. This is a required property. + */ + pagingSize: 15, + popupAlways: false, + showCriteria: false + }); + + this.finder.grid.config = Ext.applyIf(this.finder.grid.config ? this.finder.grid.config : {}, { + enableColLock: false, + loadMask: true, + height: 385, + width: 400 + }); + }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |