I want to use the grails formRemote to update only a part of my page. Only a specific div element. When the form is submitted the whole page refreshes with the not found page erro
What could be the problem? resultset -> div i want to update
<g:formRemote method="post" update="resultset" name="formRemote" url="[ controller: 'Historie', action:'index' ]" >
//some input fields
<g:actionSubmit value="Submit"/>
</g:formRemote>
<div id="resultset">
</div>
将提交按钮更改为: <g:submitToRemote update="resultset" action="show"/>
解决了该问题!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.