I checked the source and the drop down name is selectMenu1 and the attributes are set. Below is my jsf code.
<%@taglib uri="http://jakarta.apache.org/struts/tags-tiles"
prefix="tiles"%>
<%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
<%@page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<html>
<head>
<link rel="stylesheet"
href="${pageContext.request.contextPath}/theme/Master.css"
type="text/css">
<link rel="stylesheet" type="text/css"
href="${pageContext.request.contextPath}/theme/stylesheet.css"
title="Style">
</head>
<body>
<h:messages errorStyle="color: red"/>
<hx:viewFragment id="viewFragment1">
<hx:scriptCollector id="scriptCollector1">
<center><h:form>
<div
style="width: 548px; border-color: black; border-width: 1px; border-style: solid" align="left">
<table cellpadding="10" bgcolor="white">
<tr>
<td align="left" width="548"><font size="-2" color="red"><span
style="font-weight: 100">*Required</span></font><br>
<b><br>
Search Criteria</b></td>
</tr>
<tr>
<td align="left" width="548">
<table width="400px" style="float: left">
<tr>
<td width="50" />
<td align="left" width="122"><b>Year: <font color="red">*</font></b></td>
<td width="225"><h:selectOneMenu styleClass="selectOneMenu" id="selectMenu1">
<f:selectItems value="#{physicianCountBackingBean.listFiscalDates}"/>
</h:selectOneMenu></td>
</tr>
<tr>
<td width="50" />
<td align="left" width="122"><b>Quarter: <font color="red">*</font></b></td>
<td width="225"><h:selectOneMenu
id="menu2" styleClass="selectOneMenu" value="#{physicianCountBackingBean.fiscalQuarterString}" >
<f:selectItem itemValue="Apr-Jun" itemLabel="Apr-Jun"/>
</h:selectOneMenu></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="20" width="548"></td>
</tr>
</table>
</div><p>
<h:commandButton action="back"
immediate="true" value="Back" styleClass="button"/>
<h:commandButton
action="#{physicianCountBackingBean.findPhysicianCounts}"
value="Search" styleClass="button" immediate="true"/>
<h:commandButton value="Clear" type ="reset" styleClass="button"/></p>
</h:form></center>
</hx:scriptCollector>
</hx:viewFragment>
</body>
</html>
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: 60: 61: 62: 63: 64: 65: 66: 67: 68:





by: MuraliKanthPosted on 2009-09-27 at 16:48:55ID: 25435986
when ur page is rendered do a right click and click view source and see the generated html.
Make sure the drop down has name="selectMenu1" also all the value attributes are set.
if possible post the jsf code here.
-Murali*