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

Set default CSS class for Label component to be "control-label", but allow overrides

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 5.4
    • 5.4
    • None
    • None

    Description

      The control-label attribute is sometimes not applicable to labels, hence causing my page to not properly render.

      e.g. inline checkboxes

      <label t:type="label" for="credentialsExpired" class="checkbox inline">
      <input class="checkbox" t:type="checkbox" value="user.credentialsExpired"
      t:id="credentialsExpired"/>${message:user.credentialsExpired}
      </label>

      The resulting HTML adds an extra form-control to the label class which I don't need in this case.

      Attachments

        1. TAP5-2045.patch
          6 kB
          Serge Eby

        Activity

          People

            hlship Howard Lewis Ship
            sdeby Serge Eby
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: