Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-3628

XHTML validation errors (framework/widget) Tree widget and Date time field rendering issues

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • Trunk
    • Trunk
    • framework
    • None

    Description

      htmlTreeMacroLibrary.ftl

      Tree widget renders unclosed <li> tags.
      Example from Accounting -> Global GL settings -> Navigate accounts

      <ul class="basic-tree">
      <li><ul class="basic-tree">
      <li>
      <li><a class="collapsed" href="/accounting/control/GlAccountNavigate?trail=null|100000"> </a><a href="/accounting/control/GlAccountNavigate?glAccountId=100000&trail=null">100000

      htmlFormMacroLibrary (macro renderDateTimeField)

      selected attribute without value
      <option value="AM" selected>

      input inside ul
      <ul>
      ......
      <input type="hidden" name="${compositeType}" value="Timestamp"/>
      </ul>

      Patch attached

      Attachments

        1. OFBIZ-3628_framework_widget_xhtml.diff
          1 kB
          Blas Rodriguez Somoza
        2. OFBIZ-3628_framework_widget_xhtml.patch
          6 kB
          Jacques Le Roux

        Activity

          People

            jleroux Jacques Le Roux
            brsomoza Blas Rodriguez Somoza
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: