<%@ page import="com.kqed.web.database.*,com.kqed.web.utils.*,java.util.*" %> <% // fetch buildout from db: String handle = request.getParameter("handle"); if ( handle == null ) throw new Error("This page requires a valid \"handle\" request parameter."); ProgrammingDB pdb = null; BuildOut bo = null; try { pdb = new ProgrammingDB(ServletUtils.getDBConn()); bo = pdb.fetchBuildOut(request.getParameter("handle")); if ( bo == null ) throw new Error("Could not retrive buildout record with handle: \"" + handle + "\"."); } catch (Exception e) { throw e; } finally { if ( pdb != null ) pdb.close(); } %> <%-- ----------PAGE CONFIGS---------- --%> <% if ( bo.getNavLocation() != null ) { %> <% } %> <%-- ----------/ PAGE CONFIGS---------- --%> <%-- ----------HEAD---------- --%> <%-- ----------/ HEAD---------- --%> <%-- ----------LEFT RAIL---------- --%> <%-- ----------/ LEFT RAIL---------- --%> <%-- ----------CENTER WELL---------- --%>

<%= bo.getType() == null ? "" : bo.getType() %>

<%= bo.getTitle() == null ? "" : bo.getTitle() %>

<%= bo.getEmbedCode() %>

<%= bo.getDescription() == null ? "" : bo.getDescription() %>

<%-- ----------/ CENTER WELL---------- --%> <%-- ----------RIGHT RAIL---------- --%> <%-- ----------/ RIGHT RAIL---------- --%> <%-- ----------END OF PAGE---------- --%> <%-- ----------/ END OF PAGE---------- --%>