IllegalArgumentException for f:selectItem:
https://jsftemplating.dev.java.net/issues/show_bug.cgi?id=31
Issue #|31
Summary|IllegalArgumentException for f:selectItem
Component|jsftemplating
Version|.unkown
Platform|All
OS/Version|All
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P2
Subcomponent|Component Factories
Assigned to|kenpaulsen
Reported by|llamburt
------- Additional comments from llamburt_at_dev.java.net Thu Sep 27 18:24:57 +0000 2007 -------
I've got IllegalArgumentException when I tried to use <f:selectItem.../> inside <h:selectOneMenu...>
<h:selectOneMenu value="#{pageSession.in}">
<f:selectItem itemValue="red" itemLabel="red"/>
</h:selectOneMenu>
I looked into com.sun.jsftemplating.component.factory.ri package, and saw only 3 f: factories there:
f:loadBundle f:validator f:param
I don't know it's possible, that there is another (generic) factory that is supposed to create the rest of them,
but as I said it doesn't work for me. Maybe, it's mapped to a different prefix?
List of f: (jsf core) tags:
f:actionListener f:attribute f:convertDateTime f:converter f:convertNumber f:facet f:loadBundle f:param f:selectItem
f:selectItems f:subview f:validateDoubleRange f:validateLength f:validateLongRange f:validator f:valueChangeListener
f:verbatim f:view
java.lang.IllegalArgumentException: ComponentType 'f:selectItem' not defined!
com.sun.jsftemplating.layout.template.TemplateReader.createLayoutComponent(TemplateReader.java:333)
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:56)
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292)
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:79)
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292)
com.sun.jsftemplating.layout.template.BaseProcessingContext.beginComponent(BaseProcessingContext.java:79)
com.sun.jsftemplating.layout.template.TemplateReader.process(TemplateReader.java:292)
com.sun.jsftemplating.layout.template.TemplateReader.readLayoutDefinition(TemplateReader.java:169)
com.sun.jsftemplating.layout.template.TemplateReader.read(TemplateReader.java:127)
com.sun.jsftemplating.layout.template.TemplateLayoutDefinitionManager.getLayoutDefinition(TemplateLayoutDefinitionManager.java:168)
com.sun.jsftemplating.layout.LayoutDefinitionManager.getLayoutDefinition(LayoutDefinitionManager.java:147)
com.sun.jsftemplating.layout.LayoutViewRoot.getLayoutDefinition(LayoutViewRoot.java:287)
com.sun.jsftemplating.layout.LayoutViewHandler.createView(LayoutViewHandler.java:188)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:203)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
com.sun.faces.extensions.avatar.lifecycle.PartialTraversalLifecycle.execute(PartialTraversalLifecycle.java:80)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)