Monday Mar 26, 2012

Fixing Broken Links to Entries on This Blog

I just found out that some built in redirects that were in place on the Oracle Blogging platform were removed, and as a result there is a good chance that if you were directed to an entry on this blog that is a bit older you'll get a 404 error.

Luckily there is a simple URL hack that you can use to fix this - switch the "year/month" part for "entry" and then remove the ".html" from the URL.

So for example instead of :


I fixed the links on my "Archives" page so you can also look for the entry by title there.

Sorry for any inconvenience.

Thursday Mar 22, 2012

Building iPhone Interfaces for Oracle E-Business Suite

Over on his blog Juan has been showing you how simple it is to develop a rich Web user interface with ADF accessing Oracle E-Business Suite data and even exposing it on an iPad.

In this entry I'm starting from his sample application and I'm showing how easy it is to build an interface that will look great on an iPhone (or other mobile devices) using Oracle ADF Mobile Browser.

For those of you who are just using ADF and never tried ADF Mobile Browser - you'll find that the development experience is quite familiar and similar to your normal Web application development. In the latest version of JDeveloper ( which I'm usingin this demo we have a built-in skin that will give your application the native iOS look and feel. In the demo I achieve this by setting the styleclass of a tr:panelHeader component to af_m_toolbar to get this. For more on this styling read the doc.

Check out this quick demo:

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.


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

« March 2012 »