I all !!

i 'am asking if it's possible to override core class by inclusion

i mean something like this :
----------------------------------------------------

#file /mypath/view.lzx

<class name="view">

// my own view class

</class>


and later...

#file /myotherpath/myapp.lzx

<include href="/mypath/view.lzx"/>

<canvas>

<!-- use of the overrided class -->
   <view name="lalala" />

</canvas>

----------------------------------------------------

I've tried with "view" and "text" as class name ==> does not work (compilation error) then i've tried with "menu" or "button" ==> it work althought i get a warning message in debug console

i guess it's because view and text are in the LFC, but menu and button are component ...

but my question is:

except for LFC that sems impossible to override, for the other class, is this allowed ?? will cause problem ???


thanks

Pierre


Reply via email to