I have this code for a backing bean:
@PostConstruct
public void refreshData()
{
rows = (int) dd.getRows();
pages = dd.getPages();
getRender();
}
/
I have no idea what you mean with "before all the getter methods". At least the @PostConstruct is called immediately after the construction of the bean and the setting of all managed properties (the bean properties which are definied in faces-config.xml).
Thus roughly:
Your problem is likely that the value is been overriden by something else. Just run the debugger or have your code reviewed by an expert.