javax.faces.el.PropertyNotFoundException: Bean: com.matrixco
bill78b Aug 7, 2008 11:32 AMHi
I am facing strange problem...
In jsf i am calling binding function to disable the button..
IN bean i am having setters and getters ....
But I am getting PropertyNotFoundException...........
Here is the code...
JSP File...
<h:panelGrid align="center"
id="LobActionPanelGrid" columns="1"
rendered="#{clientLOBBean.displayLobRadioButtons}">
<h:commandButton immediate="true" id="myCommandButton"
action="#{clientLOBBean.lobAction}"
binding="#{clientLOBBean.myCommandButton}"
styleClass="FormSubmit"
value=" << OK >> ">
</h:commandButton>
Java File..
public HtmlCommandButton myCommandButton;
public HtmlCommandButton getMyCommandButton() {
return myCommandButton;
}
public void setMyCommandButton(HtmlCommandButton myCommandButton) {
this.myCommandButton = myCommandButton;
}
In Action method i am calling ..
if(myCommandButton!=null)myCommandButton.setDisabled(true);
every thing is perefect.........
But i am getting.........
2008-08-06 18:27:02,753 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/eFiling].[jsp]] Servlet.service() for servlet jsp threw exception
javax.faces.el.PropertyNotFoundException: Bean: com.matrixcos.efiling.web.ClientLOBBean, property: myCommandButton
at org.apache.myfaces.el.PropertyResolverImpl.getPropertyDescriptor(PropertyResolverImpl.java:500)
at org.apache.myfaces.el.PropertyResolverImpl.getPropertyDescriptor(PropertyResolverImpl.java:472)
at org.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:436)
at org.apache.myfaces.el.PropertyResolverImpl.getValue(PropertyResolverImpl.java:85)
at org.apache.myfaces.el.ELParserHelper$MyPropertySuffix.evaluate(ELParserHelper.java:535)
at org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
at org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:386)
at org.apache.myfaces.application.ApplicationImpl.createComponent(ApplicationImpl.java:427)
at javax.faces.webapp.UIComponentTag.createComponentInstance(UIComponentTag.java:709)
at javax.faces.webapp.UIComponentTag.findComponent(UIComponentTag.java:596)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:315)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_h_commandButton_0(ClientLOB_jsp.java:3327)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_h_panelGrid_7(ClientLOB_jsp.java:3292)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_h_panelGroup_9(ClientLOB_jsp.java:3193)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_a4j_outputPanel_10(ClientLOB_jsp.java:3158)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_a4j_region_9(ClientLOB_jsp.java:3129)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_h_form_0(ClientLOB_jsp.java:371)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspx_meth_f_view_0(ClientLOB_jsp.java:211)
at org.apache.jsp.jsp.forms.ClientLOB_jsp._jspService(ClientLOB_jsp.java:154)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
Any Ideas........
Thanks
Venu