Friday Mar 16, 2012

Managing Files/Folder in Content Repositories or File Systems with Oracle ADF and WebCenter

One more entry in a set of entries (1,2,3) about the capabilities that WebCenter adds to ADF applications.

WebCenter is basically the new Portal framework in the Oracle stack - and one key thing that portals do is work with content, allowing you to compose and publish content from files as well as save and store content.
In this demo you'll see how using a set of taskflows provided by WebCenter you can add a file management, creation and viewing capabilities to a regular ADF application. To try this out you don't need any fancy content management system - we'll just use your file system for now.

All you need is the WebCenter extension installed in JDeveloper, and then you can follow the demo on your own JDeveloper instance.

You'll define a connection to your content repository you'll be able to add a bunch of pre-built WebCenter taskflows into your page. And suddenly you can upload/download/create and view document directly from your applicaiton.

Check it out:

Friday Mar 09, 2012

Dynaminc ADF Pages Construction with WebCenter's Resource Catalog and Composer

This is the third part of my "WebCenter for ADF Developer" series of posts (see post 1 and post 2).

This entry highlights why this product/features are called WebCenter PORTAL - with this set of WebCenter capabilities your ADF application gets a set of end-user customization capabilities that blur the line between a "regular" application and what used to be one of the core value propositions of traditional portals. Once you start using this capability your end user will be able to create new pages in their applications and add content to those pages at runtime.

As you'll see in the demo, this involve exposing regular ADF taskflows through the WebCenter resource catalogs, and then using the WebCenter Portal composer tags and runtime capabilities to add and customize pages at runtime.

One thing that probably should have gone into the demo also is showing how to enable this dynamic page editing on existing ADF page - to do that you can use the WebCenter JSF component called pe:pageCustomizable and in it put a cust:panelCustomizable component. You can see this if you look at the source of the home.jspx page that comes with your WebCenter Portal application template.

So at the end of the day you can create a page that has this type of structure:

           <pe:pageCustomizable id="pageCustomizable1">
              <cust:panelCustomizable id="panelCustomizable1" layout="scroll"/>
              <f:facet name="editor">
                <pe:pageEditorPanel id="pep1"/>

Then when you press the magic keyboard combination ctrl+shift+E your page will switch into the runtime editing mode. (or you can add a button that will switch to that editing mode by adding the pe:changeModeButton component to your page.)

Thursday Mar 01, 2012

Using WebCenter for Runtime Layout Customization of ADF Applications

This is part two of a set of entries that show how ADF developers can leverage WebCenter - part 1 is here.

In this demo I'll focus on WebCenter's composer components. These JSF tags allow you to add a capability for end users to dynamically change the layout/location and size of areas in a JSF page at runtime. This is something that end users became used to in the age of portals - and now you can add this capability to your ADF application very easily. To persist the changes you'll need to enable MDS - but if you just want to play with these tags - all you need is JDeveloper and the WebCenter extension.

Then just do this:

By the way - if you can't afford a WebCenter license - the ADF Faces panelDashboard component will give you some of this functionality too.

Tuesday Feb 28, 2012

Webcenter Portal Intro for ADF Developers Part 1

In the recent version of the OTN Developer Day that we are running we started to include some WebCenter content in the section where we talk about building Web UIs with ADF Faces. I figured that since some people just can't get to an event it might be nice to show some of the demos we use here as well.

WebCenter is now divided into four areas of offering, the part the I'm going to focus on is "WebCenter Portal". I look at it as a layer built on top of the ADF infrastructure that adds more capabilities that you can choose to use in your application.

In the next set of blogs I'll show some of those capabilities and how you can use them to extend the functionality of your ADF application.

To get WebCenter capabilities in JDeveloper use the help->check for update and download the WebCenter Framework and Design Time extension - then you can follow the demo I'm showing. (Note that WebCenter is licensed separately from ADF - so you probably want to make sure your organization is ok licensing it before you use it in your production application.)

In the first demo you'll see how to create a WebCenter Portal application, and how to use the provided templates and navigation model/menu option that it provides out of the box.

Check it out:

In the next chapter will see some of the UI runtime customization you can get for your application.

I'm a Director of Product Management for Oracle's Cloud Development Tools and Frameworks.
Follow me:

« July 2016