[Chameleon] Diference: GetJavascriptInitFunctions vs GetJavascriptOnLoadFunctions

Alexys Herleym Rodriguez Avellaneda alexys_6 at yahoo.es
Sat Jan 12 10:24:26 EST 2008


Hi:

I need to know what is the diference between GetJavascriptInitFunctions and GetJavascriptOnLoadFunctions. 

When i use one or other?

In the sample widget UUW, they use GetJavascriptOnLoadFunctions to show the load the javascript funtion to show the report:
$aReturn['showReport'] = “showReport();\n”;

but in the querybyshape widget they use GetJavascriptInitFunctions to load the function to show the popup:
$aResult['QueryFedeganWShowPopup'] = "QueryFedeganWShowPopup();\n";

Can somebody tellme what is the difference. When i use one or other?

Thanks in advance.

Alexys H


       
______________________________________________ 
Web Revelación Yahoo! 2007:
Premio Favorita del Público. 
http://es.promotions.yahoo.com/revelacion2007/favoritos/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20080112/3f86b5ab/attachment.html


More information about the Chameleon mailing list