Example to
http://stackoverflow.com/questions/27448073/jsf-prerenderview-ajax-calls