1) focus attribute activated only after ajax request completion. So only works if your tabPanel ajax switched.
2) I think just your custom js on ontabenter event (which will activate the comboBox) will be better that ajax reuqest firing which you described in second snippet.
I tried using the ontabenter, but it product a script error. I know the script works because if i put it on a button's onclick event it work properly. The script error is "Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus." So I'm guessing at the time the ontabenter fires the page has not been built
<rich:tab label="All" ontabenter="document.getElementById('availableArticlesFrm:categoryBasedOnFiltercomboboxField').focus();" >
yes sorry. this event is cancelable so fired before enter actually. Need to think about something else :)
Great! I'm a Newbie and i did'nt know how to focus a rich combobox.
Thanks a lot!