Hello,
I am trying set focus on element when popup is opened. For this way i am using this guide
My code on java-side for generating client id looks like
public String getClientId() {
FacesContext ctx = FacesContext.getCurrentInstance();
return getFocusableSelectOneChoice().getClientId(ctx);
}
This snippet of code returns "pt1:r1:1:pc1:t1:0:i1:soc1".
But in DOM tree element has id "pt1:r1:1:pc1:t1:0:i1:0:soc1"
Structure of page is
template
...
region
...
panel collection
...
table
row
...
popup
iterator
focusable component
How to fix it?
I use JDeveloper 12.2.1.3 Build JDEVADF_12.2.1.PATCHSETS_GENERIC_170820.0914.S
Regards, Max.