0

I am migrating from old Icefaces to the newest Primefaces 5.3.5 and I need to migrate this

JavascriptContext.applicationFocus(FacesContext.getCurrentInstance(), "reportSettingsForm:pageOrientationRd:_1");

How can it be migrated, please? Thanks in advance.

Skyware
  • 352
  • 1
  • 7
  • 16

1 Answers1

0

This should work without testing it.

RequestContext.getCurrentInstance().execute("PrimeFaces.focus('reportSettingsForm:pageOrientationRd:_1');");
Skyware
  • 352
  • 1
  • 7
  • 16