create.gsp
上传用户:steveyhw
上传日期:2019-05-13
资源大小:307k
文件大小:2k
-
- <html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
- <meta name="layout" content="main" />
- <title>Create Requestmap</title>
- </head>
- <body>
- <div class="nav">
- <span class="menuButton"><a href="${createLinkTo(dir:'')}"><g:message code="home" default="Home" /></a></span>
- <span class="menuButton"><g:link action="list"><g:message code="requestmap.list" default="Requestmap List" /></g:link></span>
- </div>
- <div class="body">
- <h1><g:message code="requestmap.create" default="Create Requestmap" /></h1>
- <g:if test="${flash.message}">
- <div class="message">${flash.message}</div>
- </g:if>
- <g:hasErrors bean="${requestmap}">
- <div class="errors">
- <g:renderErrors bean="${requestmap}" as="list" />
- </div>
- </g:hasErrors>
- <g:form action="save" method="post" >
- <div class="dialog">
- <table>
- <tbody>
-
- <tr class='prop'>
- <td valign='top' class='name'><label for='url'>URL:</label></td>
- <td valign='top' class='value ${hasErrors(bean:requestmap,field:'url','errors')}'>
- <input type="text" name='url' value="${requestmap?.url?.encodeAsHTML()}"/>
- </td>
- </tr>
-
- <tr class='prop'>
- <td valign='top' class='name'>
- <label for='configAttribute'>Authority(split by a comma):</label>
- </td>
- <td valign='top'
- class='value ${hasErrors(bean:requestmap,field:'configAttribute','errors')}'>
- <input type="text" name='configAttribute'
- value="${requestmap?.configAttribute?.encodeAsHTML()}"/>
- </td>
- </tr>
-
- </tbody>
- </table>
- </div>
- <div class="buttons">
- <span class="formButton">
- <span class="button"><input class="save" type="submit" value="${message(code:'create', 'default':'Create')}" /></span>
- </span>
- </div>
- </g:form>
- </div>
- </body>
- </html>