You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/12/03 12:29:42 UTC

DO NOT REPLY [Bug 25159] New: - html:form does not validate with http://validator.w3.org

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=25159>.
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=25159

html:form does not validate with http://validator.w3.org

           Summary: html:form does not validate with http://validator.w3.org
           Product: Struts
           Version: 1.1 Final
          Platform: Other
               URL: http://validator.w3.org/check?uri=https://bugs.privasphe
                    re.com:8443/index_en.jsp
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Unknown
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: hauser@acm.org


<html:form action="login.do" type="com.myDom.myApp.form.LoginForm" >

As per http://jakarta.apache.org/struts/userGuide/struts-html.html#form , I did
not add a "name" attribute, but somehow, it still gets generated:
<form name="loginForm" method="post"
action="/login.do;jsessionid=C3AF6FA961312C6A4731941FFEDC8926">
and thus, the validator complains:
<<# Line 66, column 11:  there is no attribute "name"  (explain...).
  <form name="loginForm" method="post" action="/login.do;jsessionid=C3AF6FA961312C
             ^
>>

See also Bug 22283

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org