Grails
  1. Grails
  2. GRAILS-1774

g:submitToRemote discards id attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0-RC1
    • Fix Version/s: None
    • Component/s: Ajax
    • Labels:
      None

      Activity

      Hide
      Alexander Zeillinger added a comment -

      I just checked this with Grails 1.3.6, no problems there.

      Though the documentation needs to be updated, the example there is missing the "value" attribute as well as the "url" attribute which needs at least the action specified, see below:

      <g:form action="show">
      Login: <g:textField name="login" />
      <g:submitToRemote update="updateMe" url="[action: 'myAction']" value="Submit"/>
      </g:form>
      <div id="updateMe">this div is updated by the form</div>

      Show
      Alexander Zeillinger added a comment - I just checked this with Grails 1.3.6, no problems there. Though the documentation needs to be updated, the example there is missing the "value" attribute as well as the "url" attribute which needs at least the action specified, see below: <g:form action="show"> Login: <g:textField name="login" /> <g:submitToRemote update="updateMe" url=" [action: 'myAction'] " value="Submit"/> </g:form> <div id="updateMe">this div is updated by the form</div>

        People

        • Assignee:
          Unassigned
          Reporter:
          Steven Devijver
        • Votes:
          2 Vote for this issue
          Watchers:
          3 Start watching this issue

          Dates

          • Created:
            Updated:
            Resolved:
            Last Reviewed:

            Development