Revision: 1930
http://svn.sourceforge.net/vexi/?rev=1930&view=rev
Author: clrg
Date: 2007-07-06 02:29:05 -0700 (Fri, 06 Jul 2007)
Log Message:
-----------
Lazytable widget works (except for scrollpane bug)
Modified Paths:
--------------
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/column.t
widgets/trunk/org.vexi.widgets/src/vexi/util/date/datechooser.t
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
2007-07-06 07:09:32 UTC (rev 1929)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/body.t
2007-07-06 09:29:05 UTC (rev 1930)
@@ -26,6 +26,7 @@
Children ++= function(v)
{
cascade = v;
+ if (v == null) return;
v.fill = (arguments.trapname-1)%2 ? fill2 : fill1;
v.Press1 ++= selectFunc;
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
2007-07-06 07:09:32 UTC (rev 1929)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/lib/widget/lazytable.t
2007-07-06 09:29:05 UTC (rev 1930)
@@ -48,6 +48,7 @@
thisbox.th_head = null;
thisbox.th_body = null;
thisbox.th_bodyport = th_fakeviewport;
+ thisbox.th_bodyover = null;
thisbox.th_foot = null;
thisbox.th_footview = null;
thisbox.th_bodyview = th_fakeviewport[0];
@@ -62,6 +63,9 @@
thisbox.setFilter = bodyNotSet;
thisbox.setCompoundFilter = bodyNotSet;
thisbox.setRowTemplate = bodyNotSet;
+ thisbox.fill2 = null;
+ thisbox.fill1 = null;
+ thisbox.getRowHeight = null;
/** loads a set of data into the body of a table */
var loadDataFunc = function(data)
@@ -227,7 +231,7 @@
var scrollFunc = function(v)
{
// FIXME: scrolling for dynamic case
- if (!v or dynamic) return;
+ if (!v) return;
}
Modified: widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/column.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/column.t
2007-07-06 07:09:32 UTC (rev 1929)
+++ widgets/trunk/org.vexi.widgets/src/org/vexi/theme/win2k/column.t
2007-07-06 09:29:05 UTC (rev 1930)
@@ -30,7 +30,7 @@
}
}
- $content.height ++= function(v) { $counter.minheight = v + 3; cascade
= v; }
+ $content.height ++= function(v) { $b.minheight = v + 3; cascade = v; }
$b.action ++= function(v) { thisbox.action = true; cascade = v; }
</ui:box>
Modified: widgets/trunk/org.vexi.widgets/src/vexi/util/date/datechooser.t
===================================================================
--- widgets/trunk/org.vexi.widgets/src/vexi/util/date/datechooser.t
2007-07-06 07:09:32 UTC (rev 1929)
+++ widgets/trunk/org.vexi.widgets/src/vexi/util/date/datechooser.t
2007-07-06 09:29:05 UTC (rev 1930)
@@ -153,7 +153,7 @@
case "YYYYMMDD":
default:
- return year + "/" + month + "/" + day;
+ return year + "-" + (10>month?'0':'')+month + "-" +
(10>day?'0':'')+day;
}
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn