1 Answer(s)      8 years ago
Posted in : Java Server Faces Questions


View Answers

November 11, 2008 at 5:21 AM

Hi friend,

Code to solve the problem :

<%@ taglib uri=""; prefix="a4j"%>
<%@ taglib uri=""; prefix="rich"%>
<%@ taglib uri=""; prefix="h"%>
<%@ taglib uri=""; prefix="f"%>

<link href="../css/pmscss.css" rel="stylesheet" type="text/css"/>
<h:form id="UserForm">
<rich:panel header="User">

<h:outputText value="Department"/>
<h:selectOneMenu id="department" value="#{userForm.department}">
<f:selectItems value="#{userForm.departments}" />

<h:outputText value="Status"/>
<h:selectOneMenu id="status" value="#{userForm.status}">
<f:selectItems value="#{userForm.statusses}" />


For more information on JSF visit to :


Related Tutorials/Questions & Answers: