You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Jon Wilmoth (JIRA)" <ji...@apache.org> on 2009/01/31 00:49:45 UTC

[jira] Created: (WW-2976) html alt text displays outside of input tag close

html alt text displays outside of input tag close
-------------------------------------------------

                 Key: WW-2976
                 URL: https://issues.apache.org/struts/browse/WW-2976
             Project: Struts 2
          Issue Type: Bug
          Components: Plugin - Dojo Tags, Plugin - Tags
    Affects Versions: 2.1.6
            Reporter: Jon Wilmoth


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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.