This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes JSF error using selectOneListbox Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "JSF error using selectOneListbox" Watch "JSF error using selectOneListbox" New topic
Author

JSF error using selectOneListbox

Ian Dunsirn
Ranch Hand

Joined: May 25, 2006
Posts: 36
I am using JSF 1.1 and am trying to get a selectOneListbox to work. I get this error:

org.apache.jasper.JasperException: /Project_uifields.jsp(53,8) Attribute itemvalue invalid for tag selectItem according to TLD

The error appears to be in this code:

<h:selectOneListbox id="pickField" size="7">
<f:selectItem itemValue="Environment" itemLabel="Environment"/>
<f:selectItem itemvalue="Status" itemLabel="Status"/>
<f:selectItem itemvalue="Priority" itemLabel="Priority"/>
<f:selectItem itemvalue="Release" itemLabel="Release"/>
<f:selectItem itemvalue="Issue Type" itemLabel="Issue Type"/>
<f:selectItem itemvalue="Function" itemLabel="Function"/>
<f:selectItem itemvalue="Module" itemLabel="Module"/>
</h:selectOneListbox>

What am I doing wrong?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSF error using selectOneListbox
 
Similar Threads
Problem with submit()
Problem using valueChangeListener and onchange
listbox help needed
JSF error using selectOneListbox
Newbie selectOneListBox question