public function outputMetaContent($t)
{
$resp = \jApp::coord()->response;
if ($resp === null || $resp->getType() != 'html') {
return;
}
$www = \jApp::config()->urlengine['jelixWWWPath'];
$resp->addJSLink($www . 'js/jforms_light.js');
$resp->addCSSLink($www . 'design/jform.css');
//we loop on root control has they fill call the outputMetaContent recursively
foreach ($this->_form->getRootControls() as $ctrlref => $ctrl) {
if ($ctrl->type == 'hidden') {
continue;
}
if (!$this->_form->isActivated($ctrlref)) {
continue;
}
$widget = $this->getWidget($ctrl, $this->rootWidget);
$widget->outputMetaContent($resp);
}
}