Shay Shmeltzer's Oracle Development Tools Tips

  • January 16, 2008

JSF Component Creation Made Easy

Shay Shmeltzer
Director of Product Management - Oracle

Creating JSF components is not as easy as it should be.

We have a complete team here at Oracle who works around the clock to create our JSF components (the ADF Faces components).

But in JDeveloper 11 there is a new capability that greatly simplifies creating JSF components that are based on other components.

The intention is to let you create "Complex" components with ease and then reuse them in your application.

For example let's suppose that you need an address component - this is a components that will let you input street, city, state, country, zip etc. ADF Faces provides you with the basic components such as input text, select lists and the layout components.

Then using the new JSF Declarative Component feature in JDeveloper you can easily construct a compound component that include several basic components.

You can have this component accept parameters so you'll be able to customize it to your needs when you use it in various places.

You can even include areas in your components where people can add their own stuff.

Want to see how this is done?

Check out the new online demo from OTN:

P.S. - sorry if the zoom-in/zoom-out in the demo will make you dizzy - it's a new feature in Camtasia, and I'm still trying to figure out the proper use for this.

Join the discussion

Comments ( 4 )
  • James Wednesday, January 16, 2008
    useful demo. The zoom is indeed very distracting.
  • Rowan Wednesday, April 2, 2008
    Hello, Shay
    I've made this tutorial. But in the last step when i want to use the reusable component it doesn't add to active project.
    I don't know if it is because of this but in the message log i have the next message.
    /*Customizations are disabled for the node "/C:/Users/ahp/Desktop/jdevstudio1111/adfp/lib/oracle.extapp.view.jar!/WEB-INF/adfc-config.xml" because it */
    Thanks for this blog it's being very useful for me and my firts steps in ADF.
    and forgive me because of my bad english.
  • Jayson Monday, April 27, 2009
    While I am happy you are doing this blog full of useful ADF tips, I want to say that your chose of flash for this one is bad. I am on a 64 bit Linux machine and there are no good flash solutions for it. I tried VMWare and windows to see this thing (wasting a lot of time) and the refresh was causing some issues. In the end I cannot see this and I imagine you have others alienated by the flash thing as well.
  • shay Monday, April 27, 2009
    Seems that Adobe do have a flash player for the 64bit linux: http://labs.adobe.com/technologies/flashplayer10/
    Might be worth a shot.
    The problem is that no matter what format I'll choose for the videos, there are going to be some machines that won't be able to play them - I guess that Flash is quite popular for broadcasting video content though - after all Youtube uses it too :-)
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.