Hello.
I am using JSF 1.0 final and tomcat 5.0
I have two jsp file
first jsp file "testform.jsp" contains:
<HTML>
<HEAD>
<title>Test Form</title>
<STYLE TYPE="text/css">
</HEAD>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<body bgcolor="white">
<f:view>
<h:form>
<jsp:include page="QA_AEC_form.jsp"/>
</h:form>
</f:view>
</body>
</HTML>
the second jsp file "QA_AEC_form.jsp" contains:
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:subview id="QA_AEC_FORM">
<table>
<tr>
<td align="right">Tube room</td>
<td align="left">
<h:selectOneMenu id="tuberoom" value="">
</h:selectOneMenu>
</td>
</tr>
<tr>
<td align="right">tube name</td> <td align="left">some tube name</td>
</tr>
<tr>
<td align="right">tube model</td> <td align="left">some tube model</td>
</tr>
<tr>
<td align="right">processor name</td>
<td align="left">
<h:selectOneMenu id="processorname" value="">
</h:selectOneMenu>
</td>
</tr>
</table>
</f:subview>
when i call testform.jsp on internet explorer
this is th sourc of the rendered page:
<HTML>
<HEAD>
<title>Test Form</title>
<STYLE TYPE="text/css">
</HEAD>
<body bgcolor="white">
<form id="_id0" method="post" action="/qaddsv2/faces/testform.jsp" enctype="application/x-www-form-urlencoded">
<select id="_id0:QA_AEC_FORM:tuberoom" name="_id0:QA_AEC_FORM:tuberoom" size="1"></select><select id="_id0:QA_AEC_FORM
rocessorname" name="_id0:QA_AEC_FORM
rocessorname" size="1"></select>
<table>
<tr>
<td align="right">Tube room</td>
<td align="left">
</td>
</tr>
<tr>
<td align="right">tube name</td> <td align="left">some tube name</td>
</tr>
<tr>
<td align="right">tube model</td> <td align="left">some tube model</td>
</tr>
<tr>
<td align="right">processor name</td>
<td align="left">
</td>
</tr>
</table>
<input type="hidden" name="_id0" value="_id0" /></form>
</body>
</HTML>
My question is why is this happening and how can i fix it?