Posts tagged portal

Programmatic Navigation in WebCenter Portal application – do processAction from Java

Working on a WebCenter 11g Portal application, I recently ran into a challenge: when the user clicks a link in a task flow, the result of that action should be that the user is navigated to another page with a another taskflow that should display content based on context defined through the specific link that was clicked. The challenge was complicated by the fact that the taskflows had to be completely independent, of each other and of the page in which they were embedded.

The general approach with a taskflow that has a link that when clicked should result in effects outside the taskflow is to have the taskflow publish a contextual event with appropriate payload. It is then up to the page that embeds the taskflow in a region to consume and handle the event. That was the easy part.

The event handler can read the payload from the event, store values in a managed bean and navigate to the page that contains the drill-down-target-taskflow. This page has configured the input parameters for this second taskflow using EL expressions that refer to the managed bean that was populated by the event handler. Sounds straightforward, does it not?

What then is the catch in this story? It turned out to be not so straightforward to programmatically arrange for navigation to the specified page.

Read the rest of this entry »

Oracle WebCenter 11g – Foundation for Oracle Fusion Applications and possibly your ADF applications or Enterprise 2.0 Portal as well

 

I have had a sweet spot for Oracle WebCenter for quite some time now. As early as 2007 I already did a presentation at ODTUG on WebCenter (10g). One of my main conclusion at the time was that while the product showed a lot of potential, it was certainly not ready for prime time. After that presentation, a guy came up to me, thanked me for the presentation then told me he was a product manager for WebCenter – and agreed with most of the things I had said. That was my first encounter with Peter Moskovits. Today, two years later, the situation has changed quite dramatically. WebCenter has evolved, as had ADF which is the foundation for WebCenter, and WC is now one of the cornerstones for Oracle Fusion Applications. WebCenter 11g is like the swan that started out as the ugly duckling. Well worth a look.

 

I was in a presentation today by Peter Moskovits and Christina Kolotouros, titled: A Marriage Made in Heaven – Enterprise 2.0 and ADF. They touted it as Part 2 of Steve Miranda’s talk on how Fusion Applications were built (see: http://technology.amis.nl/blog/5645/oracle-fusion-applications-it-is-for-real-and-impressive-too ). In this presentation, they explained the architecture of WebCenter, demonstrated the use of some of the essential facilities and clarified how the product can be incorporated in your own ADF development efforts.

 

WebCenter implements the (runtime) customization & personalization requirements, allows consumption of 3rd party external portlets (that also bridge technologies), provides many Web 2.0/E2.0 Services (Blog, Wiki, Content Integration, Tagging, Linking, Email/VOIP/IM integration, …) and Community Workspaces; Search and Recent Activities.

 

WebCenter lives on top of ADF which in turn adds productivity to ‘plain’ JSF – through rich components, declarative and visual development and especially the data controls and complex databindings they provide to tie business services based on various technologies to the rich components. It adds functionality in a number of steps to the ADF foundation.

Read the rest of this entry »