/**
* Calls the client script manager to add each of the requested client
* script libraries.
* @param mixed event parameter
*/
public function onPreRender($param)
{
parent::onPreRender($param);
$scripts = preg_split('/,|\\s+/', $this->getPradoScripts());
$cs = $this->getPage()->getClientScript();
foreach ($scripts as $script) {
if (($script = trim($script)) !== '') {
$cs->registerPradoScript($script);
}
}
}