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

Triggerfragment Mixin does not work when used within a table element for IE7

    XMLWordPrintableJSON

Details

    Description

      Internet Explorer 7 displays this JavaScript-Error when a FormFragment is triggered within a table element, and the FormFragment doesn't show up:

      Error: Object doesn't support this property or method
      Line: 18
      Char: 17
      Code: 0
      URI: .../tapestry/t5-formfragment.js

      example.tml:

      <t:form t:id="exampleForm" autofocus="false" secure="true" novalidate="novalidate">
      <t:errors/>
      <table>
      <tr>
      <td>
      <t:checkbox t:id="exampleCheckbox" t:mixins="triggerfragment" fragment="exampleFragment" />
      <t:label for="exampleCheckbox">Checkbox</t:label>
      </td>
      </tr>
      <tr>
      <td>
      <t:formfragment t:id="exampleFragment" visible="exampleCheckbox">
      <t:textarea t:id="exampleTextArea" rows="4" maxlength="250" />
      </t:formfragment>
      </td>
      </tr>
      </table>
      </t:form>

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            ttheb TtheB
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: