[Seaside] Seaside function onLoad problematic

dtrussardi at tiscali.it dtrussardi at tiscali.it
Sat Nov 26 18:00:00 UTC 2016


	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!



More information about the seaside mailing list