To answer your first question the getFirstRadioChecked is called because of this
rendered="#{addContact.firstRadioChecked}"
The getter will naturally have to be called to determine the value.
Thanks for this Info But my intention is to get the true or false value after performing an action
So how can i achieve it now , i cant give rendered = "true/false" i need to determine whether it is true or false based on whether the button is selected or not
The other getters are not being called since you do not define the properties anywhere and you do not use them in rendered attributes either. For example you do not call the getter for secondRadioChecked anywhere in your code.
I do not know the syntax for a:support but are you sure that the action should look like this
action="#{addContact.firstRadioChecked}"
Yes it is in the same syntax
Normally (everywhere else where the action attribute is present) the action points to a method not a property. But I guess you have read the documentation and know what you are doing. I am (still) not familiar with richfaces taglibrary but I am beginning to think that it is a good thing
But maybe someone who has more experience with richfaces can help you more. At least you should add the term richfaces to your subject line since JSF does not equal richfaces
Will do that for sure
Mostly here we are not using much of the rich faces tag libs here
So i think the problem is not with the rich faces