navigation by button affects focus
On pageA I have a button component and a hyperlink component. These two components ' actions return the same value "pageB" in order to navigate to page B.
PageB has a button and a text field that I would like it (textfield) to take the focus when pageB is loaded. I use the onLoad to make this.
From pageA if I use the hyperlink to go to pageB then pageB's textfield does have the focus; but if I use the button then it does not.
NOTE:
-This happens only when pageB has a button component. If pageB has no button, then the textfield does get focus on both cases.
- if I open pageB directly from the browser ( without navigating from pageA) then the focus works fine also.
From those tests, it looks like using button to navigate somehow affects the focus of the next page ( if the next page has button ).
Is this a bug , a feature or did I miss something ?
Thanks for your advice,
Vu

