Dear All,
I am new to
jsf and facing some issues dealing with it.
I am making a simple
jsp file which is backed by a class.
Every Component I am using the page is bounded to some property in the backing
java class.
example
and In the class
Now on the value change listener event of some other component in the same page ,
i have to update the value of this field.
I am using following code in the valueChangeListener method of the event causing component.
But I am getting NullPointerException at this line.
Please explain me how to remove this.
Also what is the difference between value and binding attribute of the jsf component?
Is it ok to bind every form component to a property in the managed bean?
Thanks in advance.