I have a custom OAF search page in that i am doing search operation based on emp number, so when i do search with emp number respective rows should display in below results section.
my requirement is when user selects a row then one more window should open in that i need to display employee image along with other details, please help me out how to display employee image in the page.
Can be achieved in two ways
a) You store each employee image in /OA_MEDIA/ with employee ID as name of image . On the new page you can pass employee ID as url paramter. in PR of new page set image uri as /OA_MEDIA/employeeID.jpg
b) You store image as blob object in some table. using Image API show image on page.
Below code should work for you.
Add Your Images in OA_Media Directory and write below code.
OAImageBean imageBean = (OAImageBean)createWebBean(pageContext, "IMAGE", null, null);
OATableBean tableBean = getSearchResultTable(webBean);