The search for the Easter portlet – hiding portlets in ADF Faces Web Applications using WebCenter Framework

Lucas Jellema
0 0
Read Time:1 Minute, 29 Second

Yesterday I did a presentation on Oracle WebCenter and the concept of UI-SOA. Part of the talk were a great number of quite complex demonstrations, to illustrate the key concepts in WebCenter and especially the mechanism of embedding portlets in ordinary ADF Faces Web Applications. These portlets can be fully synchronized with the page they are embedded in, receiving input from the page, providing output to the page and participating in Partial Page Rendering (AJAX) cycles just like any other component in the page.

One of the demo applications I showed the audience contained the page shown below. It contains a portlet. But where is it?

Your Easter challenge: find the portlet in this page!

Well, it is not easy to see – and that’s exactly what makes it so interesting, this ability to merge portlets into ADF Faces Web Applications. When I add the header to the portlet, it all becomes clear:

The CountrySelector Portlet is published to the WebCenter Portlet Container that makes it available through a WSRP Portlet Producer. Embedding it in the page is as easy and dragging and dropping it from the Portlet Component Palette and wiring its input parameters. Note: if we navigate to another customer living in another country, the CountrySelector Portlet is synchronized – based on the country code that is provided through one of the public parameters of the portlet. When the user selects a different country in the Country Selector, the country code is passed to a page element bound to an Attribute on the underlying ADF DataControl iterator.

The architecture for this application-with-portlet:

When the Portlet is updated and a new version is deployed to the WebCenter instance, reloading the CustomerAdministration WebApplication will automatically include the revised Portlet, with possibly a richer look & feel:

About Post Author

Lucas Jellema

Lucas Jellema, active in IT (and with Oracle) since 1994. Oracle ACE Director and Oracle Developer Champion. Solution architect and developer on diverse areas including SQL, JavaScript, Kubernetes & Docker, Machine Learning, Java, SOA and microservices, events in various shapes and forms and many other things. Author of the Oracle Press book Oracle SOA Suite 12c Handbook. Frequent presenter on user groups and community events and conferences such as JavaOne, Oracle Code, CodeOne, NLJUG JFall and Oracle OpenWorld.
Happy
Happy
0 %
Sad
Sad
0 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %
Next Post

Don't Use Spaces in Directories: Problem importing XML Schema in BPEL Process

Ever since Microsoft introduced long filenames back in whenever, using spaces in file or directory names has always been tricky. As I found out recently, even with modern software like the BPEL Designer in JDeveloper, using spaces in your directory structure might come back to haunt you, in the most […]
%d bloggers like this: