Script blocks are not being executed in HTMLPane

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

Hi Ashish,
We aplogise for the inconvenience - this is an issue in the 6.0 release that can occur with multiple interleaved inline script blocks in either IE or in Firefox with non-XHTML documents.
We’ve now posted a patch here

To apply this patch, you can copy the block of script into a new .js file and included it in your application after loading the standard SmartClient .js library files (but before your application code).

The issue has also been resolved in our mainline code, so the patch will not be necessary with any future releases. The patch code will be automatically disabled and can be removed at that point.

Please let us know if this doesn’t resolve the issue for you.

Regards
Isomorphic Software