Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-1721

A JavaScript typo prevents the error icon for fields containing validation errors from appearing

    XMLWordPrintableJSON

Details

    Description

      Tapestry is unable to find the icon and put it in the error message.

      In FieldEventManager in tapestry.js the local variable to store the icon should be "icon" and not "com".

      Tapestry.FieldEventManager = Class.create({
      ...
      getIcon : function() {
      if (!this.icon)

      { this.com = $(this.field.id + "_icon"); }

      return this.icon;
      },
      ...

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            pjayala Pedro Ayala
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: