rem: EchoAppRender.RowSync.prototype._renderAddChild = function(update, child, index) { var tdElement = document.createElement("td"); this._childIdToElementMap[child.renderId] = tdElement; EchoRender.renderComponentAdd(update, child, tdElement);  var layoutData = child.getRenderProperty("layoutData"); var insets; if (layoutData) { insets = layoutData.getProperty("insets"); EchoAppRender.Color.renderComponentProperty(layoutData, "background", null, tdElement, "backgroundColor"); EchoAppRender.FillImage.renderComponentProperty(layoutData, "backgroundImage", null, tdElement); EchoAppRender.Alignment.renderComponentProperty(layoutData, "alignment", null, tdElement, true, this.component); var width = layoutData.getProperty("width"); if (width) { if (width.units == "%") { tdElement.style.width = width.toString(); } else { tdElement.style.width = EchoAppRender.Extent.toPixels(width, true) + "px"; } } } if (!insets) { insets = EchoAppRender.RowSync._defaultCellInsets; } EchoAppRender.Insets.renderPixel(insets, tdElement, "padding"); 
add: _renderAddChild: function(update, child, index) { var tdElement = document.createElement("td"); this._childIdToElementMap[child.renderId] = tdElement; EchoRender.renderComponentAdd(update, child, tdElement); 
context: EchoAppRender.RowSync.prototype._renderAddChild = function(update, child, index) {    var tdElement = document.createElement("td");    this._childIdToElementMap[child.renderId] = tdElement;    EchoRender.renderComponentAdd(update, child, tdElement);    var layoutData = child.getRenderProperty("layoutData");    var insets;    if (layoutData) {    	insets = layoutData.getProperty("insets");        EchoAppRender.Color.renderComponentProperty(layoutData, "background", null, tdElement, "backgroundColor");        EchoAppRender.FillImage.renderComponentProperty(layoutData, "backgroundImage", null, tdElement);		EchoAppRender.Alignment.renderComponentProperty(layoutData, "alignment", null, tdElement, true, this.component);	    var width = layoutData.getProperty("width");	    if (width) {	        if (width.units == "%") {		    	tdElement.style.width = width.toString();	        } else {		    	tdElement.style.width = EchoAppRender.Extent.toPixels(width, true) + "px";	        }	    }    }    if (!insets) {    	insets = EchoAppRender.RowSync._defaultCellInsets;    }    EchoAppRender.Insets.renderPixel(insets, tdElement, "padding");        if (index != null) {    	var currentChildCount;        if (this._trElement.childNodes.length >= 3 && this._cellSpacing) {        	currentChildCount = (this._trElement.childNodes.length + 1) / 2;        } else {        	currentChildCount = this._trElement.childNodes.length;        }        if (index == currentChildCount) {	        index = null;        }    }    if (index == null) {        // Full render or append-at-end scenario                // Render spacing td first if index != 0 and cell spacing enabled.        if (this._cellSpacing && this._trElement.firstChild) {            this._trElement.appendChild(this._spacingPrototype.cloneNode(false));        }        // Render child td second.        this._trElement.appendChild(tdElement);    } else {        // Partial render insert at arbitrary location scenario (but not at end)        var insertionIndex = this._cellSpacing ? index * 2 : index;        var beforeElement = this._trElement.childNodes[insertionIndex];                // Render child td first.        this._trElement.insertBefore(tdElement, beforeElement);                // Then render spacing td if required.        if (this._cellSpacing) {            this._trElement.insertBefore(this._spacingPrototype.cloneNode(false), beforeElement);        }    }};
meta: 600	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/600/4705113f80e2c9e4d43ad240349e3193f4caf648/Render.Row.js/clean/src/webcontainer/java/nextapp/echo/webcontainer/resource/js/Render.Row.js