Change 20071023-hqm-a by [EMAIL PROTECTED] on 2007-10-23 23:46:20 EDT
in /cygdrive/c/users/hqm/openlaszlo/trunk
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: add another check for method redefinition warnings
New Features:
Make thecheck when a view definition overrides a non-overridable
method, not just a in class definition
Bugs Fixed: LPP-3910
Technical Reviewer: dda
QA Reviewer: pbr
Doc Reviewer:
Documentation:
Release Notes:
Details:
The check for redefining non-overridable methods was only being done
in class declarations.
This adds the check into processing of regular view (node) declarations.
Tests:
This should generate a warning about overriding the "call" method,
which is declared
as non-overridable in the base schema file lfc.lzx.
<canvas width="100%" height="100%" debug="true">
<view>
<method name="call" />
</view>
</canvas>
Files:
M WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071023-hqm-a.tar
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]