[Laszlo-checkins] r10669 - in openlaszlo/trunk/WEB-INF/lps: lfc/core schema
bargull@openlaszlo.org
bargull at openlaszlo.org
Wed Aug 13 04:44:03 PDT 2008
Author: bargull
Date: 2008-08-13 04:43:57 -0700 (Wed, 13 Aug 2008)
New Revision: 10669
Modified:
openlaszlo/trunk/WEB-INF/lps/lfc/core/LzEventable.lzs
openlaszlo/trunk/WEB-INF/lps/schema/lfc.lzx
Log:
Change 20080813-bargull-aue by bargull at dell--p4--2-53 on 2008-08-13 11:18:01
in /home/Admin/src/svn/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: LzEventable changes
New Features:
Bugs Fixed: LPP-6768, LPP-6826
Technical Reviewer: ptw
QA Reviewer: (pending)
Doc Reviewer: (pending)
Documentation:
Release Notes:
Details:
LzEventable doesn't need to use the LzNode constructor signature. (LzNode didn't even pass the arguments to the super-call!)
"LzEventable#setAttribute(..)" is now marked as final, user-code should not override this method.
Tests:
Modified: openlaszlo/trunk/WEB-INF/lps/lfc/core/LzEventable.lzs
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/lfc/core/LzEventable.lzs 2008-08-13 09:26:01 UTC (rev 10668)
+++ openlaszlo/trunk/WEB-INF/lps/lfc/core/LzEventable.lzs 2008-08-13 11:43:57 UTC (rev 10669)
@@ -34,7 +34,7 @@
class LzEventable {
/** @access private */
- function LzEventable ( parent:* = null, attrs:Object? = null, children:Array? = null, instcall:Boolean = false){
+ function LzEventable () {
}
/**
@@ -111,7 +111,7 @@
* @devnote Note: this is inlined by the script compiler, so that
* must be updated if you change this function
*/
- function setAttribute(prop, val, ifchanged = null) {
+ final function setAttribute(prop, val, ifchanged = null) {
if (this.__LZdeleted || (ifchanged && (this[prop] == val))) return;
// Must agree with NodeModel in tag compiler
Modified: openlaszlo/trunk/WEB-INF/lps/schema/lfc.lzx
===================================================================
--- openlaszlo/trunk/WEB-INF/lps/schema/lfc.lzx 2008-08-13 09:26:01 UTC (rev 10668)
+++ openlaszlo/trunk/WEB-INF/lps/schema/lfc.lzx 2008-08-13 11:43:57 UTC (rev 10669)
@@ -213,7 +213,7 @@
<method name="searchImmediateSubnodes"/>
<method name="searchParents"/>
<method name="searchSubnodes"/>
- <method name="setAttribute"/>
+ <method name="setAttribute" final="true"/>
<method name="setData"/>
<method name="setDatapath"/>
<method name="setExpectedAttribute"/>
More information about the Laszlo-checkins
mailing list