Menu
Category

Webcenter

Convert an image to Base64

This post is to show how to generate base64 string to an image file.Below is the method which will return the base64 string to the given image file. The input for this method is the full path of the image. public String getBase64ForFile(String inFile) throws Exception { String base64 = “”; System.out.println(“inFile: ” + inFile); URL url = new URL(inFile);…

How to enable Contribution Folders in Webcenter Content

If the “Contribution Folders” under Browse Content is not visible, please follow the below procedure to enable it. Login to webcenter content Under Administration menu, go to Admin Server and select “Component Manager” option Select “advanced component manager” option   Under disabled components, select “Folders_g” and click on enable button Please note that, while enabling “Folders_g”, if “FrameworkFolders” is enabled,…

ADF_FACES-30108:The view state of the page has expired because of inactivity. Reload the page.

I have several tabs in my portal application, in which some of them are loading data from web services. Some times when I click on those tabs, an alert message with the below error message is displaying and on-click of Ok button, the app is reloading. The error message: ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RESTORE_VIEW 1 javax.faces.application.ViewExpiredException: viewId:/oracle/webcenter/portalapp/pages/home.jspx…

Localization to ADF application with f: loadBundle

To implement localization in ADF applications, we create property files with the fields and their values in different languages. For example, I have below property file with some fields and their values in Danish language. I want to display these values in the jsf page to the user. BODY =Hoveddel ITEM =Varepost SUBMIT =Indsend SUMMARY =Oversigt COPY =Kopier   To…

Webcenter Portal Display issues in lower versions of IE

I have a portal application developed in JDev 1.6. While running the application, it supposed to be  displayed full of the browser and it is in Firefox, Chrome and even in IE (version greater than 8). But  I have a requirement to use this in IE7. When I run this app in IE7, the app is displaying in one third …

Import ADF Taskflow into a Portal as a library

To import a ADF task flow into a web center portal application as a library, follow the below procedure Create a deployment profile for the ADF task flow project as “ADF library jar” Deploy and make adf library jar for the ADF task flow Open the Resource Palette on right side of the JDev Right click on “File System” and…

Create or Configure a Pagelet

Below is the procedure to create/configure the pagelet.         Create a portal application and deploy in an application server Login to Pagelet producer. http://<host>:<port:>/pageletadmin In the Navigator select option “Producers” for “Jump to” from the list, will display screen like below Click on Register button, a screen like below will be displayed Enter required fields like Producer Name, WSDL url…

Configuring Discussion Server to Webcenter Spaces

Below are the steps to configure the discussion server with webcenter spaces           1)      Open the EM console: http://<host>:port/em           2)      Go to “Service Configuration” Option in Webcenter domain as shown in the below screen                3)      Select “Discussions & Announcements” from the list available            4)      Click on Add button, you will get the below screen           …

Hi, Welcome here.
JOIN OUR NEWSLETTER
And get notified everytime we publish a new blog post.