« New Coding Toys in JDeveloper 11 | Main | Producing Documentation for UML in JDeveloper »

How to Demo over 100 JSF/Ajax Components?

So now we have over a hundred JSF/Ajax components in the new ADF Faces Rich Client package - but how do you demo all of them?

One option is to try and build a user interface that uses all of them, but this doesn't create a very appealing UI.
The other option is to have a single application that will let you test each one of the components. This is exactly what the ADF Faces Rich Client Components Demo is - a single page with links to pages that have samples for each one of the components.
As a bonus - you can also see the source of the JSF page used to invoke that component, which is a great way to learn how to use the components.

Here are the instructions on how to get the demo and run it either from inside JDeveloper or on a stand-alone OC4J.

Comments (5)

Shay,

I run into several compilation errors after creating a project from the war file:
- I had to add the JSF 1.2 library to the project
- the compiler needed PortletContext (for which I believe 11g TP does not contain a library, so I commented out a piece of code in oracle.adfdemo.view.table.rich.FileSystem.java
- the compiler chokes on private static final Class<String[]> _STRING_ARRAY_CLASS = (Class<String[]>)new String[0].getClass(); in TestDropHandler.java. I do not have the solution yet (move to a higher version of the JDK?)

regards,

Lucas

Shay

Another issue: the link to the Skinning Key Documentation refers to what I believe is an Oracle internal site: http://bali.us.oracle.com:2020/releases/adf.faces/java1/skin-selectors.html#inputComboboxListOfValues. At least I am not able to reach that URL.

regards

Lucas

Hi Shay,

how about providing a demo site on OTN, where we are able to test the demo without having to download and install JDeveloper 11g.

Just want to try out and have a look.

Thanks
Patrick

Shay Shmeltzer:

Lucas,
For the skining doc you can go to the version on OTN:
http://www.oracle.com/technology/products/adf/adffaces/11/doc/skin-selectors.html
Linked from the ADF Faces documentation page

We know the project doesn't compile in JDeveloper, but as we mention in the how-to - you can just set the compile before run off and run it from inside JDeveloper without changing any code.

Patrick - The idea of a site has crossed our mind, but some things are harder to set at Oracle... Like an outside the firewall server :-(

Shay Shmeltzer:

ok - an update you can run the components demo directly from here:
http://jdevadf.oracle.com:8888/adffacesrcdemo/faces/components/index.jspx

(This is a new small server for us - so hopefully it will stand the load)

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)