Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Invalid
-
Affects Version/s: 2.0-Alpha2
-
Fix Version/s: 2.0-Alpha3, 2.0.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:ICEfaces 2.0
Description
Bug report from Neil Griffin:
<ice:inputText id="postalCode" partialSubmit="true" required="true" value="#{applicantModelBean.postalCode}"
valueChangeListener="#{applicantFormBackingBean.postalCodeListener}" />
But I'm getting a weird EL exception:
12:05:41,856 ERROR [jsp:165] javax.el.ELException: /xhtml/applicantForm.xhtml: Property 'postalCodeListener' not found on type org.portletfaces.example.bean.ApplicantFormBackingBean
at com.sun.faces.facelets.compiler.AttributeInstruction.write(AttributeInstruction.java:91)
at com.sun.faces.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:78)
at com.sun.faces.facelets.compiler.UILeaf.encodeAll(UILeaf.java:179)
at javax.faces.render.Renderer.encodeChildren(Renderer.java:168)
at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:848)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1613)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at javax.faces.component.UIComponent.encodeAll(UIComponent.java:1616)
at com.sun.faces.application.view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:386)
at com.sun.faces.application.view.MultiViewHandler.renderView(MultiViewHandler.java:126)
at org.icefaces.push.BridgeSetup.renderView(BridgeSetup.java:94)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:117)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:97)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:135)
at org.portletfaces.bridge.BridgeImpl.doFacesRequest(BridgeImpl.java:166)
at org.portletfaces.bridge.GenericFacesPortlet.doView(GenericFacesPortlet.java:194)
at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:328)
at javax.portlet.GenericPortlet.render(GenericPortlet.java:233)
My backing bean postalCodeListener works fine with a vanilla JSF 2.0 h:inputText -- This problem only happens with ice:inputText when partialSubmit="true"
This is a fairly fundamental bug. Do we have a current test case that Neil should modify for regression purposes?