source: tapas/web/project/formTapas.jsp @ 440

Last change on this file since 440 was 440, checked in by rboipsl, 12 years ago

ajout anotations
usermandatory

File size: 2.0 KB
Line 
1<%@ page import="com.ether.WebException" %>
2<%@ page contentType="text/html;charset=UTF-8" language="java" %>
3<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
4<%@ taglib prefix="tiles" uri="/WEB-INF/tlds/struts-tiles.tld" %>
5<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %>
6
7<tiles:insert page="/resources/templates/templateEther.jsp" flush="true">
8
9    <tiles:put name="insertCss" type="string">
10        <ether:htmlCss cssFile="select"/>
11        <ether:htmlCss cssFile="calendar/anytime"/>
12        <ether:htmlCss cssFile="jquery-ui-1.8.16.custom/jquery-ui-1.8.16.custom"/>
13    </tiles:put>
14
15    <tiles:put name="insertJsOrJsp" type="string">
16        <ether:htmlJs jsFile="library/jquery.json-2.3"/>
17        <ether:htmlJs jsFile="classesForJQuery/Select"/>
18        <ether:htmlJs jsFile="calendar/anytime"/>
19        <ether:htmlJsp jspFile="formTapas_script"/>
20    </tiles:put>
21
22    <tiles:put name="title" type="string"><spring:message code="app.title"/> - <spring:message code="title.home"/></tiles:put>
23    <tiles:put name="nav" type="string"><a href=""><spring:message code="label.home"/></a></tiles:put>
24
25
26    <%-- ****************** CONTENT ****************** --%>
27    <tiles:put name="bodytitle" type="string"><spring:message code="title.home"/></tiles:put>
28
29    <tiles:put name="body" type="string">
30
31        <div id="formulaire">
32
33        </div>
34
35        <div id="errors"></div>
36
37        <script type="text/javascript">
38            var tapasTexts = $A( "" );
39            tapasTexts["label.submitButton"] = '<spring:message code="label.submitButton"/>';
40            tapasTexts["<%=WebException.WebCode.ERROR_JSON_TAPAS_IS_NULL%>"] = "<spring:message code="error.ERROR_JSON_TAPAS_IS_NULL"/>";
41
42            //var interfaceTapas = new InterfaceTapas(${jSonFileFormats},${jSonYesNos},${jSonObservatories},${jSonSelectUnits});
43            var interfaceTapas = new InterfaceTapas(${jSonFileFormats},${jSonYesNos},${jSonObservatories});
44        </script>
45
46    </tiles:put>
47
48</tiles:insert>
Note: See TracBrowser for help on using the repository browser.