[Laszlo-dev] Extending view with JS2 syntax / warning for inline attributes

P T Withington ptw at pobox.com
Wed Jul 30 04:44:40 PDT 2008


You've said (in prose) that you are extending view, but your code says  
you are extending node.  Node does not have width, height, etc.  Try:

> <interface name="testclassjs2" extends="view">

On 2008-07-29, at 14:37EDT, Raju Bitter wrote:

> Here are the warnings:
> extendviewjs2.lzx:55:58: found an unknown attribute named "width" on  
> element
> testclassjs2, check the spelling of this attribute name
> extendviewjs2.lzx:55:58: found an unknown attribute named "height" on
> element testclassjs2, check the spelling of this attribute name
> extendviewjs2.lzx:55:58: found an unknown attribute named "bgcolor" on
> element testclassjs2, check the spelling of this attribute name
>
> The warning are generated for 4.1.1 and TRUNK, in all runtimes.
>
> - Raju
>
>
>
> Am 29.07.2008 20:35 Uhr schrieb "Raju Bitter" unter
> <openlaszlonaut at googlemail.com>:
>
>> Hi all,
>>
>> When I extend view with JS2 syntax I get a warning for the inline  
>> attributes I
>> use. The test file is attached.
>>
>> - Raju
>
>



More information about the Laszlo-dev mailing list