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"/>
              </f:facet>
            </pe:pageCustomizable>

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.)


Comments:

Shay you are my hero. I notice in this demo video that you seem to have access and development capabilities of all WebCenter resources - is this correct?

If so I am wondering if there is a way to import all existing resources of a WebCenter deployment (specifically 11.1.1.5)?

Thanks for these tutorials. It makes programming Oracle fun and exciting.

Cheers,
j

Posted by josh on April 10, 2012 at 09:33 AM PDT #

Josh, all of WebCenter's development is done inside JDeveloper - you just need to get the WebCenter extensions through help->check for update.
I'm not exactly sure what you mean by "all existing resources" - you might want to ask this on the WebCenter discussion forum on OTN.

Posted by Shay on April 11, 2012 at 04:14 AM PDT #

Hi, Thanks for sharing the information...I need help in implementing the tagging in the fresh new application. Could you please share your knowledge about this to implement the tag cloud as in your website.

thanks,
Sandeep

Posted by sandeep singh rawat on May 08, 2012 at 08:13 AM PDT #

- Shay,
Awesome !

I never used WebCenter components, where can I learn more about it, and how development differs from the standard ADF application?
What the runtime environment needs for one WebCenter application ?

Posted by Cvele on July 10, 2012 at 10:51 PM PDT #

Cvele, check out the WebCenter documentation page for a tutorial on WebCenter Portal
http://docs.oracle.com/cd/E23943_01/webportal.htm

For everything I showed in my demos all you need is JDev with the WebCenter extension - to actually get things like the changes to persist or use of various webcenter services you might need a WebCenter server.

Posted by Shay on July 13, 2012 at 04:32 PM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

me
I'm a Director of Product Management for the Oracle Java Development Tools.
Follow me:
Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today