I guess it's been a while since anyone used that option :-(

On Fri, Dec 4, 2009 at 8:09 AM, Rami Ojares / AMG Oy
<[email protected]>wrote:

> I tried again the following code
>
> File fragment.lzx
> -----------------
> <canvas debug="true">
>    <view >
>        <include href="fragment1.lzx" type="text"/>
>    </view>
> </canvas>
>
>
> File fragment1.lzx
> ------------------
> <method name="foo" args="src">
>    Debug.write("CHECK");
> </method>
> <handler name="oninit">
>    foo();
> </handler>
>
> "CHECK" should appear in the debug window but it doesn't.
> I double checked this so that I pasted the fragment1.lzx in the place of
> the include and the CHECK appeared.
>
> My quess is that when the type is text the content is not treated as code
> anymore but somehow escaped to a string that then disappears at same point
> in the compilation.
>
> - rami
>



-- 
Henry Minsky
Software Architect
[email protected]

Reply via email to