Share on Google+Share on Google+


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:
Java Spring Hibernate Struts Training i have an ques. of advanced java commandlink tag in primefaces needs onclick effect how can i run ASP.Net Server from netbeans IDE? java code for cursor java vertual machine launcher error; cannot access jarfiles JSF Tutorial render in input typetext java.lang.ClassNotFoundException: com.sun.faces.config.ConfigureListener After authentication and connection establishment, Upload a zipfile by chunks in java JSF CONNECTION WITH MICROSOFT ACCESS Download Current Web Page As PDF java servlet dropdown list in jsf panelGrid header do the following how to make drop down list in JSF & fetch data Item from database help me please doubt regarding JSF Creating Dynamic Tree How to upload zip file from android to server programmatically????? jsf application war file not running in my jboss 6.0 on linux 5.5 Business analysis servlet servlet exception in thread main while running servlet How to get browser time zone? JAVA Socket Programming excel report fro jsp mysql Redirect to same jsp page on successful login jsf f:parm value dynamical settings jsf f:parm value dynamical settings RMI Program in netbeans pagination in jsf pagination jsf pagination How create csv format in jsf ? need JSP Code. Arrays, loops and string handling unique value renderer JSF 1.2 online tutorial JSF code JSP jps Multicast under UDP(client server application) How to rectify "Bad version number in .class file" exception in Eclipse about avl tree and hashing project on avl tree and hashing How to navigate from one jsf to another in eclipse how to focus on the new window opened from JSF ? Editing UI components using managed bean


Advertisement null