function includeScripts($aConf)
    {
        parent::includeScripts($aConf);
        $sAbsName = $this->getAbsName();
        $sInitScript = <<<INITSCRIPT
\t\t
\t\ttry {
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").oSWFUpload = new SWFUpload(
\t\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").config.swfupload_config
\t\t\t);
\t\t} catch(e) {
\t\t\t//alert("SWFUpload exception !!!" + e.name + ":" + e.message);
\t\t\t//throw(e);
\t\t}

INITSCRIPT;
        $sUninitScript = <<<UNINITSCRIPT
\t\t
\t\ttry {
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").destroy();
\t\t} catch(e) {
\t\t\t//alert("SWFUpload exception !!!" + e.name + ":" + e.message);
\t\t\t//throw(e);
\t\t}
\t\t\t
UNINITSCRIPT;
        # the SWFUpload initalization is made post-init
        # as when rendered in an ajax context in a modalbox,
        # the HTML is available *after* init tasks
        # as the modalbox HTML is added to the page using after init tasks !
        $this->sys_attachPostInitTask($sInitScript, "Post-init SWFUPLOAD", $this->_getElementHtmlId());
        $this->sys_attachPreUninitTask($sUninitScript, "Post-init SWFUPLOAD", $this->_getElementHtmlId());
    }
    function includeScripts($aConf = array())
    {
        parent::includeScripts($aConf);
        $sAbsName = $this->getAbsName();
        $sInitScript = <<<INITSCRIPT
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").init();
INITSCRIPT;
        # initalization is made post-init
        # as when rendered in an ajax context in a modalbox,
        # the HTML is available *after* init tasks
        # as the modalbox HTML is added to the page using after init tasks !
        $this->oForm->attachPostInitTask($sInitScript, "Post-init JSTREE initialization", $this->_getElementHtmlId());
    }
    function includeScripts($aConf = array())
    {
        parent::includeScripts($aConf);
        $sAbsName = $this->getAbsName();
        $sInitScript = <<<INITSCRIPT

\t\ttry {
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").plUploadObjectInit();
\t\t} catch(e) {
\t\t\t// alert("PLUpload exception !!!" + e.name + ":" + e.message);
\t\t\t// throw(e);
\t\t}

INITSCRIPT;
        $this->sys_attachPostInitTask($sInitScript, "Post-init PLUPLOAD", $this->_getElementHtmlId());
    }
    function includeScripts($aLibs)
    {
        $sAbsName = $this->getAbsName();
        $sInitScript = <<<INITSCRIPT
\t\ttry {
\t\t\tif(Formidable.f("{$this->oForm->formid}").o("{$sAbsName}").domNode()) {
\t\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").oTabPanel = new Control.Tabs(
\t\t\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").domNode(),
\t\t\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").config.libconfig
\t\t\t\t);
\t\t\t}
\t\t} catch(e) {}
\t\t
INITSCRIPT;
        $this->sys_attachPostInitTask($sInitScript, "Post-init TABPANEL", $this->_getElementHtmlId());
        parent::includeScripts($aLibs);
    }
 function includeScripts($aConf = array())
 {
     $this->oForm->oJs->jquery_loadUiPlugin("slider");
     parent::includeScripts($aConf);
 }
    function includeScripts($aConf)
    {
        parent::includeScripts($aConf);
        $sAbsName = $this->_getElementHtmlId();
        $sInitScript = <<<INITSCRIPT
\t\ttry {
\t\t\tif(Formidable.f("{$this->oForm->formid}").o("{$sAbsName}").domNode()) {
\t\t\t\tCalendar.setup(Formidable.f("{$this->oForm->formid}").o("{$sAbsName}").config.calendarconf);
\t\t\t}
\t\t} catch(e) {}

INITSCRIPT;
        $sUninitScript = <<<UNINITSCRIPT

\t\ttry {
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").destroy();
\t\t} catch(e) {}

UNINITSCRIPT;
        $this->sys_attachPostInitTask($sInitScript, "Post-init DATE", $this->_getElementHtmlId());
        $this->sys_attachPreUninitTask($sUninitScript, "Pre-uninit DATE", $this->_getElementHtmlId());
    }
    function includeScripts($aConf = array())
    {
        parent::includeScripts($aConf);
        $sAbsName = $this->_getElementHtmlIdWithoutFormId();
        $sInitScript = <<<INITSCRIPT
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").init();
INITSCRIPT;
        $this->oForm->attachPostInitTask($sInitScript, "Post-init ADVSEARCHFORM initialization", $this->_getElementHtmlId());
    }
    function includeScripts($aConf = array())
    {
        parent::includeScripts($aConf);
        $sAbsName = $this->_getElementHtmlIdWithoutFormId();
        $sInitScript = '';
        if ($this->isFlexgridLister()) {
            if (($sGridClass = $this->_navConf('/flexigridconfiguration/class')) !== FALSE) {
                $sJson = $this->generateFlexigridJson();
                $sInitScript .= <<<INITSCRIPT
\t\t\t\t\t\$(".{$sGridClass}").flexigrid({$sJson});
INITSCRIPT;
            } else {
                $this->oForm->mayday("RENDERLET LISTER - flexgrid lister need a class.");
            }
        }
        $sInitScript .= <<<INITSCRIPT
\t\t\tFormidable.f("{$this->oForm->formid}").o("{$sAbsName}").init();

INITSCRIPT;
        # initalization is made post-init
        # as when rendered in an ajax context in a modalbox,
        # the HTML is available *after* init tasks
        # as the modalbox HTML is added to the page using after init tasks !
        $this->oForm->attachPostInitTask($sInitScript, "Post-init LISTER initialization", $this->_getElementHtmlId());
    }