[Laszlo-checkins] r3928 - openlaszlo/branches/legals/lps/components/incubator/validators
max@openlaszlo.org
max at openlaszlo.org
Sun Feb 25 13:22:34 PST 2007
Author: max
Date: 2007-02-25 13:22:33 -0800 (Sun, 25 Feb 2007)
New Revision: 3928
Modified:
openlaszlo/branches/legals/lps/components/incubator/validators/basevalidator.lzx
openlaszlo/branches/legals/lps/components/incubator/validators/validatingForm.lzx
Log:
+ Fix incubator/validators
Modified: openlaszlo/branches/legals/lps/components/incubator/validators/basevalidator.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/incubator/validators/basevalidator.lzx 2007-02-25 20:20:01 UTC (rev 3927)
+++ openlaszlo/branches/legals/lps/components/incubator/validators/basevalidator.lzx 2007-02-25 21:22:33 UTC (rev 3928)
@@ -20,10 +20,6 @@
<attribute name="innercompornent" type="expression" value="null" />
<attribute name="iserror" type="boolean" value="false" />
- <method event="oninit" args="arg">
- this.ok.setsource("resources/ok.gif");
- this.error.setsource("resources/error.gif");
- </method>
<method name="doValidation" />
@@ -114,7 +110,7 @@
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
Modified: openlaszlo/branches/legals/lps/components/incubator/validators/validatingForm.lzx
===================================================================
--- openlaszlo/branches/legals/lps/components/incubator/validators/validatingForm.lzx 2007-02-25 20:20:01 UTC (rev 3927)
+++ openlaszlo/branches/legals/lps/components/incubator/validators/validatingForm.lzx 2007-02-25 21:22:33 UTC (rev 3928)
@@ -34,7 +34,7 @@
<method name="recursive" args="newsub">
<![CDATA[
for( var i = 0; i < newsub.subnodes.length ; i++ ){
- if( typeof newsub.subnodes[i].subnodes != "null" ){
+ if( newsub.subnodes[i].subnodes ){
if( 0 < newsub.subnodes[i].subnodes.length )
recursive(newsub.subnodes[i]);
}
@@ -69,7 +69,7 @@
</class>
</library>
<!-- * X_LZ_COPYRIGHT_BEGIN ***************************************************
-* Copyright 2006 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2007 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* X_LZ_COPYRIGHT_END ****************************************************** -->
<!-- @LZX_VERSION@ -->
More information about the Laszlo-checkins
mailing list