TeamDev-Archive / OpenFaces

OpenFaces JSF library
28 stars 15 forks source link

SM OR - undesired focus on hidden openfaces input #155

Open hannahmez opened 8 years ago

hannahmez commented 8 years ago

The focus is on a textarea element of class o_hiddenFocusChromeSafari, and it disturbs the tabs orders for example when opening a new dialog with inputs we would like the focus to be on our first input.

on OnAir: Go to Contracts -> add a new group -> open rights types dimensions dialog Result: the focus is not on any of our inputs Expected: the focus is on the first input (the selected checkbox in first line)

YurinM commented 8 years ago

You can use <o:focus component for selection separated component, e.g.: `

` Also, you can select separate component using js function `document.getElementById("mainForm:anyComponent").focus();`