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:

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

Posted by Lucas Jellema on May 16, 2007 at 06:23 PM PDT #

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

Posted by Lucas Jellema on May 16, 2007 at 06:41 PM PDT #

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

Posted by Patrick Wolf on May 16, 2007 at 11:29 PM PDT #

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 :-(

Posted by Shay Shmeltzer on May 17, 2007 at 06:48 AM PDT #

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)

Posted by Shay Shmeltzer on May 23, 2007 at 09:41 AM 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