<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
          xmlns:f="http://java.sun.com/jsf/core"
          xmlns:tc="http://myfaces.apache.org/tobago/component"
          xmlns:tx="http://myfaces.apache.org/tobago/extension"
          version="2.0">
<f:view>
	<tc:page id="page" label="Browse Interviews">
				<tc:sheet id="sheet" columns="2*;6*;2*" var="doc"
					value="#{requestScope.docList}" showHeader="false" selectable="single" state="#{browseController.docTableState}">
					<tc:column id="column1">
						<tc:image id="image" width="160" height="120" value="/images/somepic.gif"
							alt="Picture here" />
					</tc:column>
					<tc:column id="column2">
						<tc:panel id="col2panel">
							<f:facet name="layout">
								<tc:gridLayout columns="*"/>
							</f:facet>
							<tc:link id="innerlink" label="#{doc.title}"
								action="#{browseController.selectDocument}" actionListener="#{browseController.linkClicked}">
								<f:param name="docId" value="#{doc.id}"/>
							</tc:link>
							<tc:out value="#{doc.description}"/>
						</tc:panel>
					</tc:column>
					<tc:column id="column3">
						<tc:out value="Utilities here" />
					</tc:column>
				</tc:sheet>
				<tc:link id="outerlink" label="#{requestScope.docList[1].title}"
					action="#{browseController.selectDocument}" actionListener="#{browseController.linkClicked}">
					<f:param name="docId" value="#{requestScope.docList[1].id}"/>
				</tc:link>
				<tc:out value="#{requestScope.docList[1].id}"/>
	</tc:page>
</f:view>
</jsp:root>