The woods are lovely, dark and deep, But I have promises to keep; And miles to go before I sleep, And miles to go before I sleep. - Robert Frost
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
I see. So your real problem is that you do not understand basic concepts of JSF framework. Your form is sending the values to the bean when the forms is sent BUT the initial values of the inputs in the form ALSO come from the backing bean. That is why all the getters of the properties present in the form are being executed when the form is viewed! So if you think that the getters are only being executed when you call them yourself you are wrong.Go Green wrote:I will call this function only when i select a particular radio button
Now , i am having another problem ,,
All the methods in my bean are getting executed without performing an action
Consider Paul's rocket mass heater. |