Approved, but you should file a bug to fix this API. It is really bad form that a core class is doing something that would be illegal in a user-defined class. Does the method really have to have the same name as the attribute? Does the method even have to be public, or is the attribute the accepted public interface?

On 2007-11-04, at 21:48 EST, Henry Minsky wrote:

Change 20071104-hqm-0 by [EMAIL PROTECTED] on 2007-11-04 21:44:46 EST
   in /cygdrive/c/users/hqm/openlaszlo/trunk
   for http://svn.openlaszlo.org/openlaszlo/trunk

Summary: workaround to get rid of warning when 'apply' is overridden

New Features:

Bugs Fixed: LPP-5042

Technical Reviewer: ptw
QA Reviewer: jcrowley
Doc Reviewer:

Documentation:

Release Notes:

Details:

See bug report LPP-5042




Tests:
compile

example/components/style_example.lzx, and should not  see this
compiler warning anymore:
lz/windowpanel.lzx:259:88: In element 'state' attribute 'apply' is
overriding parent class attribute which has the same name but type:
method



Files:
M      WEB-INF/lps/schema/lfc.lzx


Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071104-hqm-0.tar


--
Henry Minsky
Software Architect
[EMAIL PROTECTED]

Reply via email to