File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSF error using selectOneListbox

 
Ian Dunsirn
Ranch Hand
Posts: 36
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Krithika Srinath
Ranch Hand
Posts: 52
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check for the typo of itemValue for the select items 2 to n. 'v' should be 'V' (capital)
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic