Hi,
I have a strange problem, executing:
In any SmartClient Example Browser tab works as expected. I shows “Hello World”
But executing the same code in a HTML file:
does not show “Hello World”. It shows an empty DrawPane.
Can you please give me a hint what I´m doing wrong?
Greetings Thomas
I have a strange problem, executing:
Code:
isc.VLayout.create({
autoDraw:true,
id: "drawPaneLayout",
showEdges: true,
height: 500,
width: 400,
members: [
isc.DrawPane.create({
ID: "mainPane",
showEdges: true,
width: '100%',
height: '100%',
overflow: "hidden",
cursor: "auto",
canDrag:true,
drawItems: [
isc.DrawLabel.create({
left: 1,
top: 1,
contents: "Hello World"
})
]
})
]
});
But executing the same code in a HTML file:
Code:
<HTML>
<HEAD>
<SCRIPT>var isomorphicDir="/isomorphic/";</SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_Core.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_Foundation.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_Containers.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_Drawing.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_Grids.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_Forms.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_DataBinding.js></SCRIPT>
<SCRIPT SRC=/isomorphic/system/modules/ISC_RichTextEditor.js></SCRIPT>
<SCRIPT SRC=/isomorphic/skins/Enterprise/load_skin.js></SCRIPT>
</HEAD>
<BODY>
<SCRIPT>
isc.VLayout.create({
autoDraw:true,
id: "drawPaneLayout",
showEdges: true,
height: 500,
width: 400,
members: [
isc.DrawPane.create({
ID: "mainPane",
showEdges: true,
width: '100%',
height: '100%',
overflow: "hidden",
cursor: "auto",
canDrag:true,
drawItems: [
isc.DrawLabel.create({
left: 1,
top: 1,
contents: "Hello World"
})
]
})
]
});
</SCRIPT>
</BODY>
</HTML>
Can you please give me a hint what I´m doing wrong?
Greetings Thomas
Comment