Does AdmMgr has a getEditUser() method? Does the object that method
returns also a method called setFirstname(String)?
On 5/25/05, Rene Guenther <[EMAIL PROTECTED]> wrote:
> Hello,
>
> my jsp has following line:
>
> <h:inputText id="firstname" value="#{AdmMgr.editUser.firstname}" />
>
> AdmMgr is a managed bean with the instance editUser of class User. editUser
> has property firstname (includes getters and setters).
> Reading AdmMgr.editUser.firstname works, writing AdmMgr.editUser.firstname
> failed:
>
> ERROR - Cannot set value for expression '#{AdmMgr.editUser.firstname}' to a
> new value of type java.lang.String
> javax.faces.el.PropertyNotFoundException: Base is null: .editUser
> at
> org.apache.myfaces.el.ValueBindingImpl.resolveToBaseAndProperty(ValueBinding
> Impl.java:537)
> at
> org.apache.myfaces.el.ValueBindingImpl.setValue(ValueBindingImpl.java:309)
> at javax.faces.component.UIInput.updateModel(UIInput.java:252)
> at javax.faces.component.UIInput.processUpdates(UIInput.java:191)
>
> How can I set a new value for AdmMgr.editUser.firstname?
>
> Thanks
> Rene
>
>
>