This discussion is archived
3 Replies Latest reply: Feb 6, 2013 1:57 AM by Jenny_Gomez RSS

corporate Branding Image

Jenny_Gomez Newbie
Currently Being Moderated
hello room,

in the corporate Branding Image property inspector we have in Image URI = /OA_MEDIA/FNDSSCORP.gif

Requirement:_

i want this image(FNDSSCORP.gif) to change on the oaf page dynamically based on the VO query (in which i am calling company name dynamically based on the person_id)

Below is a query for CO.java file tht i am using:

import oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.OAImageBean;
+:+
+:+
+:+
+:+
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
+{+
super.processRequest(pageContext, webBean);

OAPageLayoutBean page = pageContext.getPageLayoutBean();
OAImageBean dots = (OAImageBean)createWebBean(pageContext, OAWebBeanConstants.IMAGE_BEAN, null, "dotsImage");
dots.setSource(OAWebBeanConstants.APPS_MEDIA_DIRECTORY "ABC.gif");+
+// dots.setShortDesc(pageContext.getMessage("FND","FND_DOTS_SHORT_DESC"));+
dots.setHeight("30");
dots.setWidth("150");
page.addIndexedChild(dots);
+}+

I would like the logo "ABC.gif" to change based on the column/attribute Company Name defined in my view object.

Please help me.

Brgds,

Jenny

Edited by: Jenny_Gomez on Feb 3, 2013 7:49 AM

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points