NXP-11059: more specific action id
NXP-10851: avoid NPE when there is no FacesContext