Question: what is pf in jsf?
Answer: PF is a Javascript function. In Primefaces 4.0 the Javascript scope of widgets changed. ... In Primefaces 4.0 and above the widgets are stored in a Javascript widget array. When you call PF('widgetVar') it is looking for the widget in the array and returning it.