I got the solution, its working fine now problem was with
<h:inputHidden feilds
as each time i navigate through the pages the value keep residing in the hidden feilds so the ajax call was not happening. now i am nullfying the hidden feilds each time.so its working fine,ajax call is happening.