Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-2232

html:form focus generates non-XHTML

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.2.4
    • 1.2 Family
    • Tag Libraries
    • None
    • Operating System: All
      Platform: PC
    • 31501

    Description

      The generated javascript when using
      <html:form focus="username" ...etc
      is not encased in <!-- XML comment tags -->
      Because this particular javascript contains "&&" the document is no longer
      XHTML compliant.
      This is the case even when you have <html:html xhtml="true"> and <html:xhtml/>
      in the JSP.
      Note, this is actually happening inStruts 1.2.2 but wasnt an option on the bug
      reporting page.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rmcinnes@civica.com.au Renee
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: