DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13234>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13234

html:radio is missing "onmouseup" attribute in TLD

           Summary: html:radio is missing "onmouseup" attribute in TLD
           Product: Struts
           Version: Nightly Build
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Minor
          Priority: Other
         Component: Custom Tags
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The <html:radio> tag is missing a "onmouseup" attribute in the TLD.  It has all
the other event handler attributes, but is missing this one.  The tag code does
call "prepareEventHandlers()", which would emit it if it was in the TLD.

The 4.01 specification defines the "onmouseup" attribute as legal in the "input"
element (see <http://www.w3.org/TR/html401/index/attributes.html> and page down
to "onmouseup").

The solution is to add the following block to "doc/userGuide/struts-html.xml",
in the "tag" element for "radio", after the "onmouseover" attribute:

        <attribute>
            <name>onmouseup</name>
            <required>false</required>
            <rtexprvalue>true</rtexprvalue>
            <info>
                JavaScript event handler executed when this element is under the
                mouse pointer and a mouse button is released.
            </info>
        </attribute>

Along with this, the associated block for this attribute in the "ELRadioTag"
class in the Struts-EL library should be de-commented.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to