<%-- Created by IntelliJ IDEA. User: dlucas Date: Nov 16, 2010 Time: 8:09:29 PM To change this template use File | Settings | File Templates. --%> OMAR <g:meta name="app.version"/>: Video Search Results

Video Search Results

${flash.message}
No results found.
var globalActiveIndex=${videoDataSetResultCurrentTab}; var Dom = YAHOO.util.Dom; var tab1Div = Dom.get("resultTab1"); var tab2Div = Dom.get("resultTab2"); var tab3Div = Dom.get("resultTab3"); var tabView = new YAHOO.widget.TabView('resultTab'); var tab0 = tabView.getTab(0); var tab1 = tabView.getTab(1); var tab2 = tabView.getTab(2); function exportAs(format) { form = document.getElementById("exportForm"); if ( format&&form ) { var exportURL = "${createLink(controller: 'videoDataSetExport', action: 'export', params: params)}"; exportURL += "&format=" + format; //alert(exportURL); form.action = exportURL; form.submit(); } } function updateCurrentTab(variable, tabIndex) { var link = "${createLink(action: sessionAction, controller: sessionController)}"; new Ajax.Request(link+"?"+variable+"="+tabIndex, {method: 'post'}); } function handleClickTab0(e) { if(globalActiveIndex != 0) { globalActiveIndex = 0; updateCurrentTab("videoDataSetResultCurrentTab", 0); } } function handleClickTab1(e) { if(globalActiveIndex != 1) { globalActiveIndex = 1; updateCurrentTab("videoDataSetResultCurrentTab", 1); } } function handleClickTab2(e) { if(globalActiveIndex != 2) { globalActiveIndex = 2; updateCurrentTab("videoDataSetResultCurrentTab", 2); } } function init() { var oMenu = new YAHOO.widget.MenuBar("resultsMenu", { autosubmenudisplay: true, hidedelay: 750, showdelay: 0, lazyload: true, zIndex:9999}); oMenu.render(); tab0.addListener('click', handleClickTab0); tab1.addListener('click', handleClickTab1); tab2.addListener('click', handleClickTab2); tab1Div.style.visibility = "visible" tab2Div.style.visibility = "visible" tab3Div.style.visibility = "visible" omarSearchResults.setProperties(${params.encodeAsJSON()}); omarSearchResults.setProperties(document); updatePageOffset(); }