Left JSF for a while cause it was bugging me no end
.
Havent solved the problem yet. I do not want to use the session scope because then the amount of data will keep on increasing.
However i realised why the problem is actually occuring. Though i do not know how to avoid it. View is created when the request comes. Therefore since my beans are request beans the view is not populated with data. On receiving the request the bean populates data for the first time so everything goes haywire. I decided not to call valuechangelisteners after this.