Author: ptw
Date: 2008-01-10 11:26:48 -0800 (Thu, 10 Jan 2008)
New Revision: 7802
Modified:
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
Log:
Change 20080109-ptw-h by [EMAIL PROTECTED] on 2008-01-09 19:27:19 EST
in /Users/ptw/OpenLaszlo/ringding-clean
for http://svn.openlaszlo.org/openlaszlo/trunk
Summary: Remove deprecation of datacontrolsvisibility
Bugs Fixed:
LPP-5066 '"datacontrolsvisibility" warning is out of date'
Technical Reviewer: [EMAIL PROTECTED] (verbal)
QA Reviewer: [EMAIL PROTECTED] (pending)
Doc Reviewer: [EMAIL PROTECTED] (pending)
Documentation:
datacontrolsvisibility attribute of datapaths has been deprecated for
2 major releases and now is uhsupported, it should be removed from the
documentation.
Details:
Henry already removed it from the schema and warns that it is bad,
so I just removed the (now redundant) deprecation.
Tests:
The test case now yields the following compiler warning:
lpp-5066.lzx:3:57: found an unknown attribute named
"datacontrolsvisibility" on element datapath, check the spelling of this
attribute name
Modified:
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
===================================================================
---
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
2008-01-10 06:00:06 UTC (rev 7801)
+++
openlaszlo/trunk/WEB-INF/lps/server/src/org/openlaszlo/compiler/NodeModel.java
2008-01-10 19:26:48 UTC (rev 7802)
@@ -3,7 +3,7 @@
* ***************************************************************************/
/* J_LZ_COPYRIGHT_BEGIN *******************************************************
-* Copyright 2001-2007 Laszlo Systems, Inc. All Rights Reserved. *
+* Copyright 2001-2008 Laszlo Systems, Inc. All Rights Reserved. *
* Use is subject to license terms. *
* J_LZ_COPYRIGHT_END *********************************************************/
@@ -531,17 +531,6 @@
value = FontInfo.normalizeStyleString(value, false);
}
- if (name.toLowerCase().equals("datacontrolsvisibility")) {
- env.warn(
-/* (non-Javadoc)
- * @i18n.test
- * @org-mes="The attribute \"datacontrolsvisibility\" is deprecated. " + "Use
visible=\"null\" instead. " + "For future compatibility you should make this
change to your source code."
- */
- org.openlaszlo.i18n.LaszloMessages.getMessage(
- NodeModel.class.getName(),"051018-497")
- ,element);
- }
-
if (name.toLowerCase().equals("defaultplacement")) {
if (value != null && value.matches("\\s*['\"]\\S*['\"]\\s*")) {
String oldValue = value;
_______________________________________________
Laszlo-checkins mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-checkins