Uploaded image for project: 'Spring Roo'
  1. Spring Roo
  2. ROO-96

Two textareas which are decorated with dijit.form.SimpleTextarea in the same page will sumit as a single parameter for POST submits

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0.M2
    • Fix Version/s: 1.0.0.RC1
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      Currently, you cannot have two dijit.form.SimpleTextarea fields in the same page. Both fields (field 'a' and field 'b') will end up being submitted as a single param ('a') and the text entered in both will be merged under parameter 'a'

      field definitions to reproduce:

      add field string -class ~.domain.Test -fieldName a -sizeMax 70
      add field string -class ~.domain.Test -fieldName b -sizeMax 70

      Firebug shows that a is submitted twice with different values (once the value from textarea 'a' and once from 'b'):

      a TestA
      a TestB

      This results in field 'b' not being populated in AbstractPerson and field 'a' containing: 'TestA TestB'

        Attachments

          Activity

            People

            Assignee:
            sschmidt Stefan Schmidt
            Reporter:
            sschmidt Stefan Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: