0

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>
4

1 回答 1

1

将提交按钮更改为:<g:submitToRemote update="resultset" action="show"/>解决了问题!

于 2013-06-24T07:00:00.767 回答