Hi,
We are trying to develop our UI framework using SmartClient. We already have many jsp with inline JavaScripts in the content and linked JavaScripts as well.
To integrate these older JSPs into new framework we are trying to use SmartClient widget HTMLPane.
isc.HTMLPane.create({
ID: "htmlpane",
contentsURL:"/sclient/pages/test.jsp",
loadingMessage:"Loading.."
});
But in doing that we are facing a problem that all the JavaScript blocks are not being executed.
For example if i write my test jsp; which i am setting as contentsURL for HTMLPane; like this every thing works fine.
<script>
alert("check1");
</script>
<input type="text" name="testText">
I am getting the alert “check1” when the screen is loaded.
But if i put another script block after the input text, none of the script blocks are executed.
<script>
alert("check1");
</script>
<input type="text" name="testText">
<script>
alert("check2");
</script>
In this scenario, none of the script blocks are executed and i am not getting any of those alerts.
Please help me resolve the issue or suggest a better way of doing that.
I have already looked at the other thread related to the same issue but that does not solve my problem. Hence starting a new thread.
Ashish Mishra
Sterling Commerce