Hi all,

I get an exception when I move my JSF application from Sun's RI to myfaces 1.1:

javax.faces.el.EvaluationException: Cannot get value for expression
'#{userManager.existingUser}'
        
org.apache.myfaces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:399)
        
javax.faces.component.html.HtmlInputText.isDisabled(HtmlInputText.java:115)
        
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.isDisabled(HtmlTextRendererBase.java:156)
        
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:143)
        
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49)
        
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)

The code in UserManager looks like this:

  public boolean isExistingUser() {
    return users.getUser(currentUser.getName()) != null;
  }

So this did work on Sun's RI. Does anybody know what would be causing
this? Is there a workaround?

Thanks and regards,

Jeroen

Reply via email to