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 2002/03/06 10:23:49 UTC
DO NOT REPLY [Bug 6905] New: -
will not generate . ( a blank follows the form )
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=6905>.
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=6905
</html:form > will not generate </form>. ( a blank follows the form )
Summary: </html:form > will not generate </form>. ( a blank
follows the form )
Product: Struts
Version: 1.0.1 Final
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Minor
Priority: Other
Component: Custom Tags
AssignedTo: struts-dev@jakarta.apache.org
ReportedBy: phandoko@broadvision.com
See this example:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<html:html locale="true">
<head>
<html:base/>
</head>
<body bgcolor="white">
<html:errors/>
<html:form action="/demand/rfq.do" focus="username">
<table border="0" width="100%">
<tr>
<td align="right">
<html:submit property="submit" value="Submit"/>
</td>
</tr>
</table>
</html:form >
<html:form action="/demand/rfq.do" focus="username">
<html:submit property="submit" value="Submit"/>
</html:form>
</body>
</html:html>
The generated html:
<html lang="en">
<head>
<base
href="http://betelgeuse.broadvision.com:8000/selling/jsp/demand/rfq/test.jsp">
</head>
<body bgcolor="white">
<form name="rfqHeaderForm" method="POST" action="/cgi-
bin/demand_cp/selling/demand/rfq.do?
BV_SessionID=@@@@0422050296.1015400594@@@@&BV_EngineID=ccccadceihddikgcefecefedf
ihdggg.0"><input type=hidden name="BV_SessionID"
value="@@@@0422050296.1015400594@@@@">
<input type=hidden name="BV_EngineID" value="ccccadceihddikgcefecefedfihdggg.0">
<table border="0" width="100%">
<tr>
<td align="right">
<input type="submit" name="submit" value="Submit">
</td>
</tr>
</table>
</html:form >
<form name="rfqHeaderForm" method="POST" action="/cgi-
bin/demand_cp/selling/demand/rfq.do?
BV_SessionID=@@@@0422050296.1015400594@@@@&BV_EngineID=ccccadceihddikgcefecefedf
ihdggg.0"><input type=hidden name="BV_SessionID"
value="@@@@0422050296.1015400594@@@@">
<input type=hidden name="BV_EngineID" value="ccccadceihddikgcefecefedfihdggg.0">
<input type="submit" name="submit" value="Submit">
</form>
<script language="JavaScript" type="text/javascript">
<!--
document.forms["rfqHeaderForm"].elements["username"].focus()
// -->
</script>
</body>
</html:html>
</form>
<script language="JavaScript" type="text/javascript">
<!--
document.forms["rfqHeaderForm"].elements["username"].focus()
// -->
</script>
</html>
-- Petrus
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>