<%@page pageEncoding="UTF-8"
%><tiles:insert template="/WEB-INF/view/common/layout.jsp" flush="true"
><tiles:put name="title"  value="ホーム"
/><tiles:put name="header" type="string">

	<script type="text/javascript" src="${f:url('/js/jquery.ws-checkbox.js')}"></script>
	<script type="text/javascript" src="${f:url('/js/jquery.ws-shrink.js')}"></script>
	<script type="text/javascript" src="${f:url('/js/jquery.ws-tray.js')}"></script>
	<script type="text/javascript">
// <![CDATA[
$(function() {
	$('#tray').wsTray({
		api: '${f:url("/api/")}',
		projects: [
			<c:forEach var="e" items="${requestInfoDto.projects}">
				{ id: '${f:h(e.id)}',name: '${f:h(e.name)}' },
			</c:forEach>
		],
		labels: [
			<c:forEach var="e" items="${requestInfoDto.labels}">
				{ id: '${f:h(e.id)}',label: '${f:h(e.label)}' },
			</c:forEach>
		],
		selected: {
			project: 'all',
			label: 'tray'
		}
	});
});
// ]]>
	</script>

</tiles:put
><tiles:put name="breadcrumb" type="string">

</tiles:put
><tiles:put name="content" type="string">

<div id="main">
<div id="main-inner">

<html:errors />

<div id="tray"></div>

</div><!-- /main-inner -->
</div><!-- /main -->

</tiles:put
></tiles:insert>
