Skip to main content

Posts

WebCenter PS6 is live

Oracle WebCenter Portal/Content 11.1.1.7 (aka PS6) is released! Official download site: http://www.oracle.com/technetwork/middleware/webcenter/portal/downloads/index.html Document Lib site: http://docs.oracle.com/cd/E28280_01/webportal.htm Jdeveloper and ADF 11.1.1.7 What's New Release Notes Certification Information   Oracle JDeveloper and ADF Documentation Library   - Installation Guide for Oracle JDeveloper   - Installation Guide for Application Developer   - Installation Guide for Oracle Team Productivity Center Server   Oracle Fusion Middleware Documentation Library   Oracle ADF...

Please Join my Session @ Collaborate 13 - Responsive Web Design on WebCenter Portal

Hi Folks, I personally welcome you to join my session @ Collaborate 13 on Responsive Web Design on WebCenter Portal. #129 - Responsive Web Design on WebCenter Portal Date: Monday, April 8 3:45 pm - 4:45 pm Location: Mile High Ballroom 4D Here is the link to my session: http://coll13.mapyourshow.com/5_0/sessions/sessiondetails.cfm?ScheduledSessionID=18AECEC0 Companies are often struggling to keep up with all the popular website delivery channels: internet, intranet, extranet, workstations, laptops, tablets, mobile devices, etc. New devices are emerging as you read this. The display technology is evolving so fast that it feels like your website is obsolete before it is published. Is there a solution? Responsive web design (RWD), introduced in 2010, is intended to be the solution. This session provides the definition of RWD, the benefits, and how it can bring value to your organization. This session also addresses how to deliver your WebCenter-based websit...

Build an Image Slider in ADF/WebCenter Portal using jFlow Plus v2

In a modernized ADF/WebCenter Portal application, it's very common to have an image slider that can slide images automatically/manually from one to another. If you are thinking of implementing such functionality, my post here might help you. The image slider transition is implemented by JQuery. I will not focus anything on JQuery as there are many third party JQuery plugin out there for such image sliding effect. But those plugins are not ready to use for your ADF/WebCenter application, due to ADF technology itself which is based on faces components. Here I am presenting a working copy of such implementation. The plugin I used here is "jFlow Plus v2". You can download the plugin and find more info about it here: http://wordimpress.com/demos/jflowplus-v2/. To preview the finished version built on top of ADF, here is the screenshot: Here are several things I want to emphasize: Determine your page layout - flow layout or stretch layout. You always want to determin...

Changing Labels on Built-In WebCenter Taskflows

Recently I have a request from a customer to change the label of Comment button of the DocumentViewer TaskFlow in a WebCenter Portal application, from "Comment" to "Post your comment". Here is a screenshot of the standard view of the documentViewer Taskflow with the comment sidebar. The request itself is a customization request to change a label of a command button inside a built-in WebCenter Taskflow. There are two options to deal with customizations for WebCenter Portal: seeded customization or runtime customization. To give you an upfront warning, the seeded customization will not work for this case, and I will explain why. First, let's look at the seeded customizations. To enable seeded customization, there are several prerequisites to do. Make sure in the application adf-config.xml, customization class is is pointing oracle.adf.share.config.SiteCC in the MDS configuration. Enable the seeded customization option in project property - ADF View...

Retrieve User Profile Info from Identity Store

In any WebCenter Portal (or ADF) application, no matter what identity store is used for authentication, you could get hold of the user profile instance using Oracle Platform Security Service (OPSS) API, as OPSS is the layer used to connect between the WebCenter/ADF security and the identity store. There are a number of identity stores are supported in WebLogic Server. Here is a list of them: Oracle Internet Directory 11g Oracle Virtual Directory Oracle Directory Server Enterprise Edition 11.1.1.3 Active Directory 2008 Novell eDirectory 8.8 OpenLDAP 2.2 Tivoli Access Manager Sun DS 6.3, 7.0 Oracle DB 10g, 11gR1, 11gR2 iPlanet Directory Server Custom Authenticator By implementing any one or many of the above, we will be able to retrieve the user profile info from the application. Here is the code snippet. First, we will get hold of the JpsContext and get the identityStore instance by its service instance.         JpsContextFactory ct...

Skin Analysis on WebCenter Spaces Page Template

Oracle WebCenter Spaces provides framework and resources that ready for business users to use after installation and configurations. But we all know the default look and feel of the site is really not appealing. I’ve seen prospective customers direct eyes on the WebCenter great features but step back because of the look and feel. I will have to confirm them that the site can be skinned and customized to whatever you want the site to look like. And that’s true, there are indeed great looking sites out there using sophisticated CSS and JavaScript (e.g. JQuery). Those sites are mostly designed from a HTML markup perspective and mixed with ADF components, which could make the source codes of the pages hard to read and maintain. Hard to read? Who cares, as long as it works for what the customer wants. But one of the drawbacks I’ve seen and it’s worthy to mention is it breaks the partial page rendering because of the mix of html and ADF components. Most of the pretty WebCenter public sites...

Set a PanelTab height dynamically using JavaScript

It's not a common scenario but interesting to note down what's the use case and how to implement it. The use case is to get the view port height on the ADF page and set height to the PanelTab or other component related to the view port height. Most sites are still designed with flow layout on fixed width of the page. Users would have all kinds of different desktop resolutions so that their browser would render the ADF pages a bit differently. Some with large resolution would have large blank space. To make the site more appealing (or even readable at least) and fit into different browser window sizes, we can definitely control the heights of ADF components using JavaScript. In this example, we will look at the PanelTab component but it can be applied to any other ADF components. There is actually a web design - responsive web design - supposed to solve these kind of problems and render the site in multiple platforms. But the solution in this blog is more or less a fix/worka...

Manully Change the WebLogic Security Authenticator Type

It's triggered by a configuration mistake on LDAP authenticator provider. I was trying to register the OpenLDAP store with Weblogic Server. But by mistake, I chose "LDAPAuthenticator" as the provider type  which should be "OpenLDAPAuthenticator". I didn't realize the mistake until I restarted the Admin server and got the errors - " JPS-00027: internal error You configured a generic WLS LDAPAuthenticator ". Caused By: oracle.security.jps.service.idstore.IdentityStoreException: JPS-00056: Failed to create identity store service instance idstore.ldap.provider:idstore.ldap. Reason: oracle.security.jps.JpsRuntimeException: JPS-00027: internal error You configured a generic WLS LDAPAuthenticator. The identity store type cannot be determined. Please choose an LDAP Authentication provider that matches your LDAP server.                 at oracle.security.jps.internal.idstore.ldap.LdapId...

Setup your own WebCenter Suite on a VM from scratch

I’d like to share my own “Install Notes” on step-to-step how to build your own WebCenter Suite on a VM from scratch. If you follow my notes here, you should have your own WebCenter work station in a few hours. The install notes here are based on the Linux 64 OS which is the industry standard. Let’s begin. Software needed (can be obtained from e-delivery) a.        Oracle Linux64 bit (ver6.2 or whatever latest) b.       Oracle VirtualBox c.        Oracle DB XE11g Linux 64 d.       Oracle RCU e.       Oracle Weblogic Server 11g Linux f.         Oracle WebCenter 11g g.        Oracle UCM 11g h.       Oracle Web Tier 11g Create a new Virtual Disk a.        Install VirtualBox on your host. Start the virtualbox and crea...

JDBC Data Sources and Connection Pooling

Here I am describing JDBC Data Sources and Connection Pooling using a few slides that I borrowed from Oracle Weblogic 12c BootCamp. 1. What's JDBC Data Source? 2.  Scope of Data Source: system or application.  All JDBC configurations must conform to the new weblogic-jdbc.xsd schema. IDE can validate the JDBC modules based on the schema. 3.  What’s a Connection Pooling? 4. How Connection Pooling works? 5. Benefits of Connection Pooling? 6. How Data Source Connection Pooling is used? 7. Connection Pooling Configuration 8. Connection Pooling Hints