Well, first, popups in RichFaces are not loaded at display time. They are loaded when the page loads, but are hidden. The show() method simply takes the panel and makes it visible as an overlay DIV on the page and the hide() method makes it invisible again.
JSF does not concern itself with focus in any event. You should be able to set an "onshow" attribute for the tab and have the code in that attribute direct focus, but RichFaces won't do any focussing for you.
Customer surveys are for companies who didn't pay proper attention to begin with.
Joined: Jun 02, 2009
Thanks for the reply.
I have one more question.
In above case, if i re-render the main panel with the button click in the popup which also closes the popup panel, should not the button1 click render popup panel again with focus in first tab.
I've found that when the switch type is 'ajax' and the main panel is rerendered , the first tab is in focus, but to go to next tab i need two click.