0
표시되지 나는이 설정을 가지고 있지만, 검증은Grails의 : 필드에 오류가
의 index.gsp 작동하지 않습니다 :
<g:form name="loginForm" autocomplete="off" controller="company" action ="save">
<table >
<tr>
<td><g:field type="text" name="company" required="true" value="${c?.companyName}" /></td>
</tr>
</table>
컨트롤러 :
def index = {
def c =new Company()
//c=params
return [c:c]
}
def save ={}