Is there a way to set my component focus after an function call to an other component with Primefaces RequestContex?
i tried:
RequestContex.getCurrentIns
If the previous answer does not work, you can create a js function, for example:
function focusField(id){ $(id).focus(); }
Then in your bean, assuming u want set focus on field "input4" , it represents ID not Widgetvar
RequestContext.getCurrentInstance().execute("focusField('#input4');");