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

html:image displays incorrect output (broken name attribute)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0 Beta 1
    • 1.0.0
    • Tag Libraries
    • None
    • Operating System: Solaris
      Platform: Sun
    • 1580

    Description

      When using html:image, it produces a broken name attribute, rendering the link
      invalid to some browsers.

      For instance, this code:

      <html:image page="/images/myimage.gif" />

      will render

      <input type="image" name=" src="/images/myimage.gif">

      Notice the empty quote for the name attribute.

      Attachments

        Activity

          People

            craigmcc Craig R. McClanahan
            seth@brivo.com seth
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: