Adding a Corporate Branding

An administrator can add a corporate logo by replacing the filler image file, mylogo.gif, with your own image. The new image should also be named mylogo.gif.

After replacing the mylogo.gif file in the \ibi\WebFOCUS81\webapps\webfocus\mobile\resources\images directory, you must rebuild the webfocus.war file and redeploy it.

Note: You should also replace the mylogo.gif file in the \ibi\WebFOCUS81\webapps\webfocus\worp\jsp\mobile directory.

If you use a different image type, you must also manually modify the Mobile Favorite jsp pages found in the \ibi\WebFOCUS81\webapps\webfocus\worp\jsp\mobile directory.

The following line of code exists in the MobileList, MobileError, and MobileLogin files

String CORPORATE_IMG_SRC =
   WORP_AssetsManager.getAssetHREF("img_logos", "mylogo.gif",
   request.getContextPath());

where:

mylogo.gif

Can be replaced with the new file name.

Once this is done, restart the application server.

The following is an example of the code.

String POWERED_IMG_SRC =
   WORP_AssetsManager.getAssetHREF("img_logos", "powered.gif",
   request.getContextPath());
String CORPORATE_IMG_SRC =
   WORP_AssetsManager.getAssetHREF("img_logos", "mylogo.gif",
   request.getContextPath());

WebFOCUS