I am still in search of a reason why my Patch code doesn't get called, but
the original code does. I found a reference from July of last year, on the
qooxdoo site, that states qx.Class.patch preserves references to overwritten
methods. And it looks like it not only preserves the references, it calls
them as well! I put logging code in both the original code and my code and
only the original log messages are called. Yet, when I query the DOM, it
says that my patch is loaded and applied to the proper class. So then, if my
class was loaded and applied as a Patch, why isn't my code getting hit? If I
don't get a response on this I will open a bug on it, because this is not
correct behavior.
Thanks, Jim

here is my class that is loading but not getting called:

qx.Mixin.define("swep.patchAbstractCellRenderer",
{
"members" :
{
createDataCellHtml : function(cellInfo, htmlArr)
{
htmlArr.push('<div class="', this._getCellClass(cellInfo), '" style="',
'left:', cellInfo.styleLeft, 'px;', this._getCellSizeStyle(
cellInfo.styleWidth, cellInfo.styleHeight, this._insetX, this._insetY
), this._getCellStyle(cellInfo), (typeof cellInfo.table.gIMColEditable !=
'undefined')
? ((cellInfo.table.gIMColEditable[cellInfo.col] == false) ?
'background-color:#ccffff"' : '"')
: '"',
// need to also add code for hidden cells, turn the color to
// transparent.
// '"',
this._getCellAttributes(cellInfo), '>' + this._getContentHtml(cellInfo),
'</div>'
);
}
}
});
qx.Class.patch(qx.ui.table.cellrenderer.Abstract,
swep.patchAbstractCellRenderer);


>
>
------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to