Win a copy of Head First Agile this week in the Agile forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

<h:selectOneMenu>— display an option in different color  RSS feed

 
sana shah
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a piece of code

<h:selectOneMenu id="addStream" value="#{streamManager.selectedStreamID}">
<f:selectItems value="#{streamManager.streamList}" var="stream" />
</h:selectOneMenu>

StreamList is the list of all the streams. In a stream bean I have a boolean attribute isCapacityfull. If isCapacityfull is true I want to show that stream in a red color in the drop down. How can I achieve this.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!