[ http://issues.apache.org/jira/browse/MYFACES-1331?page=comments#action_12416024 ]
Paul Spencer commented on MYFACES-1331: --------------------------------------- The attribute ItemValue is also document as Required = false. But when I add this attribute the exception is not thrown Is this just a documentation Bug? > Value attribute in <f:selectItem> is documented as not required, but > javax.faces.FacesException: SelectItem with no value is thrown > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: MYFACES-1331 > URL: http://issues.apache.org/jira/browse/MYFACES-1331 > Project: MyFaces Core > Type: Bug > Versions: 1.1.3 > Reporter: Paul Spencer > > The Value attribute in <f:selectItem> is documented as not required, but the > following is thrown when the attibute is not present: > javax.faces.FacesException: SelectItem with no value > > org.apache.myfaces.context.servlet.ServletExternalContextImpl.dispatch(ServletExternalContextImpl.java:421) > > org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:234) > > org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352) > javax.faces.webapp.FacesServlet.service(FacesServlet.java:107) > > org.apache.myfaces.component.html.util.ExtensionsFilter.doFilter(ExtensionsFilter.java:122) -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
