source: tapas/web/init.jsp @ 396

Last change on this file since 396 was 396, checked in by vmipsl, 12 years ago

serialization javascript --> toJson
récupération json en objet java dans le controller

File size: 1.3 KB
Line 
1<%@ page contentType="text/html;charset=UTF-8" language="java" %>
2<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
3<%@ taglib prefix="tiles" uri="/WEB-INF/tlds/struts-tiles.tld" %>
4<%@ taglib prefix="ether" tagdir="/WEB-INF/tags" %>
5
6<tiles:insert page="/resources/templates/templateEther.jsp" flush="true">
7
8    <tiles:put name="insertCss" type="string"/>
9    <tiles:put name="insertJsOrJsp" type="string">
10        <ether:htmlJs jsFile="library/jquery.json-2.3"/>
11        <ether:htmlJsp jspFile="init_script"/>
12    </tiles:put>
13
14    <tiles:put name="title" type="string"><spring:message code="app.title"/> - <spring:message
15            code="title.home"/></tiles:put>
16    <tiles:put name="nav" type="string"><a href=""><spring:message code="label.home"/></a></tiles:put>
17
18
19    <%-- ****************** CONTENT ****************** --%>
20    <tiles:put name="bodytitle" type="string"><spring:message code="title.home"/></tiles:put>
21
22    <tiles:put name="body" type="string">
23
24        <div id="formulaire">
25
26        </div>
27
28        <script type="text/javascript">
29            var initTexts = $A( "" );
30
31            initTexts["label.submitButton"] = '<spring:message code="label.submitButton"/>';
32
33
34            var interfaceInit = new InterfaceInit();
35        </script>
36
37    </tiles:put>
38
39</tiles:insert>
Note: See TracBrowser for help on using the repository browser.