Hi,
A small thing. It seems that I can't create a Layout in my javascript loaded in the head of the html page,
I try this:
<script>
var tst = isc.VLayout.create({autoDraw: false});
</script>
I get this error:
Error: Attempt to write content into a page outside the BODY tag. Isomorphic SmartClient requires this tag be present and all widgets be written out inside it.
Please ensure your file has a BODY tag and any code to draw SmartClient widgets is enclosed in this tag.
After some debugging/checking it seems that the Layout.initWidget calls setLayoutMargin which draws html elements.
gr. Martin
A small thing. It seems that I can't create a Layout in my javascript loaded in the head of the html page,
I try this:
<script>
var tst = isc.VLayout.create({autoDraw: false});
</script>
I get this error:
Error: Attempt to write content into a page outside the BODY tag. Isomorphic SmartClient requires this tag be present and all widgets be written out inside it.
Please ensure your file has a BODY tag and any code to draw SmartClient widgets is enclosed in this tag.
After some debugging/checking it seems that the Layout.initWidget calls setLayoutMargin which draws html elements.
gr. Martin
Comment