PageRenderTime 22ms CodeModel.GetById 19ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

/jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/views/reports/generate.jspx

http://jcg-andygene-web.googlecode.com/
Unknown | 46 lines | 35 code | 11 blank | 0 comment | 0 complexity | 53d5a22b26b4be92a9289706fb2ea1e3 MD5 | raw file
 1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
 2<div id="body" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:spring="http://www.springframework.org/tags" xmlns:form="http://www.springframework.org/tags/form" version="2.0" dojoType="dijit.layout.ContentPane" region="center" splitter="true">
 3  <jsp:directive.page contentType="text/html;charset=UTF-8" />
 4  <jsp:output omit-xml-declaration="yes" />
 5  
 6    <div id="reportGenerateformbody" dojoType="dijit.form.Form" region="center" splitter="false" style="text-align: center;position: absolute;top: 100px;left: 100px;width:200px;height:200px">
 7    	<p><spring:message code="report_generate_message" /></p>
 8 	
 9   		
10  	
11        <spring:url value="/web/reports/" var="form_url" />
12    	<form:form name="f" action="${fn:escapeXml(form_url)}" method="GET" modelAttribute="formatUtil" >
13      		<table>
14      		<tr><td>
15        	<strong><spring:message code="report_format_message" /></strong>
16        	</td>
17        	<td>
18        	<form:select path="format" >
19        		<form:option value="pdf"/>
20            	<form:option value="xls"/>
21            	<form:option value="csv"/>
22            	<form:option value="html"/>
23
24        	</form:select>
25          	
26          	<script type="text/javascript">
27          		 Spring.addDecoration(new Spring.ElementDecoration({	
28              	 elementId : "format",
29              	 widgetType : "dijit.form.ComboBox",
30              	 widgetAttrs : {
31                  	 promptMessage: "Enter Format",
32                  	 required : true}}));
33                  	 
34            </script>
35            </td>
36            </tr>
37        </table>	
38      	<input dojoType="dijit.form.Button" id="proceed" type="submit" value="submit" label="Submit"/>
39           	<input dojoType="dijit.form.Button" id="reset" type="reset" value="reset" label="Reset"/>
40      	
41      	</form:form>
42      </div>
43   
44
45 
46</div>