voyent
binding exception help  XML
Forum Index -> General Help
Author Message
uyang

Joined: 07/Feb/2007 00:00:00
Messages: 20
Offline


<ice:selectBooleanCheckbox partialSubmit="true" immediate="true"
binding="#{memberbean.selectBoolean}"
value="#{memberbean.selected}"
valueChangeListener="#{memberAvailableList.changeSelection}" />

I got exception:

[CMR] ERROR [http-2020-Processor24] ApplicationImpl.createComponent(446) | Exception while creating component of type [com.icesoft.faces.HtmlSelectBooleanCheckbox] for binding [#{memberbean.selectBoolean}]
[CMR] ERROR [http-2020-Processor24] Parser.parse(139) | Failed to execute JSP lifecycle.
javax.servlet.jsp.JspException: Base is null: memberbean
at com.icesoft.faces.component.ext.taglib.SelectBooleanCheckboxTag.doStartTag(SelectBooleanCheckboxTag.java:831)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
edykory


Joined: 27/Nov/2006 00:00:00
Messages: 332
Offline


Well you don't offer too much information, so it's quite difficult to diagnose, but try to check the following:
1. You have the memberbean declared in faces-config
2. You have the getSelectBoolean and setSelectBoolean methods in that bean, and they are related to a com.icesoft.faces.HtmlSelectBooleanCheckbox field (that is you have declaration like
Code:
 import com.icesoft.faces.HtmlSelectBooleanCheckbox;
 ...
 private HtmlSelectBooleanCheckbox selectBoolean;
 ....
 public void setSelectBoolean(HtmlSelectBooleanCheckbox selectBoolean) {
   this.selectBoolean = selectBoolean;
 }
 public HtmlSelectBooleanCheckbox getSelectBoolean() {
   return selectBoolean;
 } 
 

Sorry if this doesn't help too much ... but you don't say too much either about how you have your bean declared and so on...

Good luck!
 
Forum Index -> General Help
Go to:   
Powered by JForum 2.1.7ice © JForum Team