<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:e="http://rcx.el.func/SeamFunc"
xmlns:s="http://jboss.com/products/seam/taglib"
xmlns:a="http://richfaces.org/a4j"
xmlns:c="http://java.sun.com/jstl/core"
xmlns:rcx="http://rcx.facelets/components">
<td><s:decorate>
<h:selectOneMenu id="readyToIssue"
value="#{suba
na.requiredInd}">
<f:selectItem itemValue="Y" itemLabel="Yes" />
<f:selectItem itemValue="N" itemLabel="No" />
<f:selectItem itemValue="P" itemLabel="Processed" />
</h:selectOneMenu>
</s:decorate></td>
</tr>
There are three status of a field in database. If the database table has "P" state yes and no should be disabled and if "the status is "yes or no" "P" should be disabled.
we are using