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

multiple checkboxes don't seems to work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0.M2
    • Fix Version/s: 1.1.0.RC1
    • Component/s: WEB MVC
    • Labels:
      None

      Description

      I have a problem with saving form with multiple checkboxes on it.I have following entity with 2 Boolean fields

      public class UserAccount extends Logger {

      ....

      @NotNull
      private Boolean enabled = true;

      ....

      @NotNull
      private Boolean receiveAlertMessages;
      }

      In first place there was only 'enabled' field and everything worked fine, than I added 'receiveAlertMessages' field (field boolean --fieldName receiveAlertMessages --notNull). After additional field creation checkboxes doesn't work properly together(ui part not show correct boolean values). When I remove Spring.addDecoration script from form:checkbox tag everything seem to work perfectly.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: