/jcg-andygene-web-archetype/src/main/resources/archetype-resources/src/main/webapp/WEB-INF/views/jms/jms.jspx
http://jcg-andygene-web.googlecode.com/ · Unknown · 44 lines · 35 code · 9 blank · 0 comment · 0 complexity · 45ff0946b36fd6e7e14f154ee5fd0905 MD5 · raw file
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <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">
- <jsp:directive.page contentType="text/html;charset=UTF-8" />
- <jsp:output omit-xml-declaration="yes" />
-
- <div id="jmsformbody" dojoType="dijit.form.Form" region="center" splitter="false" style="text-align: center;position: absolute;top: 100px;left: 100px;width:200px;height:200px">
- <p><spring:message code="jms_message" /></p>
-
-
- <c:set var="jmsSelected" value="true" scope="page"></c:set>
- <spring:url value="/web/jms/" var="form_url" />
- <form:form name="f" action="${fn:escapeXml(form_url)}" method="POST" modelAttribute="jmsUtil" >
- <table>
- <tr><td>
- <strong><spring:message code="jms_message_message" /></strong>
- </td>
- <td>
- <form:input path="message" />
- <script type="text/javascript">
- Spring.addDecoration(new Spring.ElementDecoration({
- elementId : "message",
- widgetType : "dijit.form.ValidationTextBox",
- widgetAttrs : {
- promptMessage: "Enter Message",
- required : true}}));
-
- </script>
- <form:input path="reply" value="" type="hidden"/>
- </td><td><form:errors path="message" class="errors"/></td>
- </tr>
- </table>
- <input dojoType="dijit.form.Button" id="proceed" type="submit" value="submit" label="Submit"/>
- <input dojoType="dijit.form.Button" id="reset" type="reset" value="reset" label="Reset"/>
-
- </form:form>
- <c:if test="${not empty jmsUtil.reply}">
- <c:out value="${jmsUtil.reply }"></c:out>
- </c:if>
- </div>
-
-
- </div>