Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-2976

html alt text displays outside of input tag close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.6
    • None
    • None

    Description

      The tag with the alt attribute set are generating the "alt" attribute outside of the html tag's close. For example:

      <s:textfield name="millisSinceEpoch" size="50" label="GMT Source (millis since epoch)"
      tooltip="Enter the number of milliseconds since epoch."/>

      Generates (alt attribute after close of label tag):

      <td class="tdLabel"><label for="dateMillisAsString_millisSinceEpoch" class="label">GMT Source (millis since epoch): <img
      src='/sirenext/struts/tooltip.gif'

      title="Enter the number of milliseconds since epoch."/>
      alt="Enter the number of milliseconds since epoch."
      </label></td>
      <td
      ><input type="text" name="millisSinceEpoch" size="50" value="" id="dateMillisAsString_millisSinceEpoch"/></td>

      This is visible in the showcase app:
      http://.../struts2-showcase-2.1.6/tags/ui/lotsOfOptiontransferselect!input.action

      Attachments

        Activity

          People

            Unassigned Unassigned
            jonwilmoth@yahoo.com Jon Wilmoth
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: