Shay Shmeltzer's Oracle Development Tools Tips

  • May 16, 2007

How to Demo over 100 JSF/Ajax Components?

Shay Shmeltzer
Director of Product Management - Oracle

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.

Join the discussion

Comments ( 5 )
  • Lucas Jellema Thursday, May 17, 2007
    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?)
  • Lucas Jellema Thursday, May 17, 2007
    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.
  • Patrick Wolf Thursday, May 17, 2007
    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.
  • Shay Shmeltzer Thursday, May 17, 2007
    For the skining doc you can go to the version on OTN:
    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 Wednesday, May 23, 2007
    ok - an update you can run the components demo directly from here:
    (This is a new small server for us - so hopefully it will stand the load)
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.