Seaside function onLoad problematic

"[email protected]" <[email protected]>
Newsgroups gmane.comp.lang.smalltalk.squeak.seaside
Message-ID <[email protected]>
Ciao,

	into Pharo5.0 with Seaside 3.2 ( but i have the same problematic into Pharo 4.0 with Seaside 3.1 )

	when define a function to load when the page has finished loading

		with	 addLoadScript: 'so_initdtr()'.

	the function is not called.


	For example:


	renderContentOn: html

		html document addLoadScript: 'so_initdtr()'.
	
		html heading: 'Pippo'.


	The html report: 

		<script type="text/javascript">function onLoad(){"soinitdtr()";};</script>

	but the browser don't call it when load the page.

	The relative javascript code is right loaded into the browser.

	I can call the	 	so_initdtr()	function with the browser console and it works fine.


	Thanks in advance!

	Dario

			
_______________________________________________
seaside mailing list
[email protected]
http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.