Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ADF Faces setting focus to specific input field.

455373Dec 14 2005 — edited Feb 27 2006
Has anyone figured out how to set the focus to a specific input field from somewhere within the Faces phase processing?

Specifically, I have a field that triggers a valueChange event. I process this event and as a result of the value, I want the focus to then be in a different field when the processing is complete.

The current behavior I see within ADF Faces is that the field that triggered the valueChange event is given the focus again. Even if one didn't want to change the default left to right, top to bottom tab order, giving the focus back to the field that triggered the event seems wrong. The user types a value and hits tab. The value is handled in someway, let's just say the value gets formatted in some special way, and then the user would expect the next field to have the focus, since they just hit tab. But instead the same field they just tabbed from gets the focus again.

Any input would be greatly appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 27 2006
Added on Dec 14 2005
16 comments
7,546 views