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!

how to query login user's ID and use it in the adf faces page

582688Aug 22 2007 — edited Aug 31 2007
Dear ALL,

ADF BC and ADF Face page, my goal is to get the login user's name and query its ID in a USERS table, and then use the value of ID in the page(set some field's default).

by now i am able to use #{facesContext.externalContext.userPrincipal.name} to set some bind variable, but i dont know how to use in the query and store the result that will be used later on. can someone help me with this please? thank you

regards

Jerry
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 28 2007
Added on Aug 22 2007
12 comments
1,248 views