Shay Shmeltzer's Oracle Development Tools Tips

  • February 11, 2009

Using Trinidad in JDeveloper 11g for IE 6 Support

Shay Shmeltzer
Director of Product Management - Oracle

Last Friday my laptop did the typical Windows thingy and got a virus, which forced me to restage it from scratch. While I was going through the list of things I needed to install on the machine to get it up to speed with the previous configuration I had - I came to the point where I needed to upgrade my internet explorer 6 to 7, but then I decided that I'll take the opportunity that I still have an old IE6 on my machine and record a quick demo just to show how to use the Trinidad components with ADF in JDeveloper 11g to get Web UIs that are compatible with IE6.

The thing is that if you have to develop applications that will run on IE6 with JDeveloper 11g you can't use the new ADF Faces Rich Client Components. They are simply too advance for the capabilities of IE6 - so you need to switch to use the Trinidad components - which are a great offering after all (over a 100 open source free JSF components with partial page refresh, dialog framework and more).

You still get the visual editing and drag and drop ADF binding event if you use these components in 11g. Here is how it looks:

Great now that we got this out of the way - onwards to update my machine with IE7. I'll still be using Firefox for my day to day work, but you never know when someone might jump up and say - can you show me this cool ADF Faces UI on IE?

Join the discussion

Comments ( 15 )
  • Michael Fons Thursday, February 12, 2009
    Very cool Shay! I imagine many many organizations will be be willing to "let go" of IE 6 for quite a while...although all the rich offerings in 11g will go a long way toward making the powers there move more quickly!
  • Michael Fons Monday, February 16, 2009
    We are kicking around all our options right now...trying to get these folks to use JDev 11g, but there are obstacles to overcome...
    So I am checking out using Trinidad. I thought it would be nice to stay in JDeveloper 11g if I was going to develop Trinidad and deploy to a 10.1.3 OAS, but it does not look like JDev 11g supports deploying to OAS as a target of any version.
    So does that mean it is best to just develop in 10.1.3 JDev to deploy to OAS 10.1.3? Because I do not know how to deploy a trinidad application manually to OAS.
    Also I was wondering if it would be possible to run applications created in ADF Faces coming out of 10.1.3 JDeveloper in WebLogic 10.3? I will look into this if you do not know off the top of your head.
    Michael F.
  • shay Monday, February 16, 2009
    JDeveloper 11g was really meant for Java EE 5.0 - so the automatic features in it target this platform.
    You can develop Java EE 1.4 apps with it and then deploy to Java EE 1.4 servers (OC4J 10.1.3 for example) - but this will mostly be manual deployment and configuration. So you might be better off with JDev 10.1.3 for that platform.
    For OC4J 10.1.3 configuration with OAS 10.1.2 check out:
    It wasn't officially tested but I believe people were able to run ADF 10.1.3 apps on WebLogic 10.3.
  • Michael Fons Tuesday, February 17, 2009
    You are the best!
    Michael F.
  • cesar Friday, September 25, 2009
    Thanks you so muchhhhh!!!!!!!!!!!!! for that tutorialll!!!!!!!!!!!!!!!!!!! so amazing!
  • rashed Saturday, January 30, 2010
    Hi Shay,
    i m using jdev11.1.1.2. it requires IE7 or later for developed application. but we dont want to upgrade. I know that
    trinidad components are there in IDE for IE6.
    Inspite of this, which areas needs to adjusted in IDE? Will these
    trinidad components are as much as flexible to adf faces components ?
    Will there no effect on deployment on wls 11g or it also needs to be adjusted in some way?
    thanks with regards,
  • shay Monday, February 1, 2010
    Rashed - as the tutorial shows the only setting you need to do are at the project level - everything else just works.
    If you have specific issues the JDeveloper discussion forum is the place to post your questions.
  • guest Sunday, February 14, 2010
    Hi Shay,
    i m using jdev10.1.3.4. wt are the deployment steps in
    this version. i m deploying to wls9.2. i m using adf components,&
    web application template is Web Application[Jsf,Adf Bc].
    thanks with regards,
  • shay Monday, February 15, 2010
    Anonymous, basic steps for deploying ADF 10.1.3 application on WebLogic are here:
  • Ashish Wednesday, February 24, 2010
    Hi Shay,
    This article is very useful to build an application using Trinidad Components which is compatible with IE6. Actually we are building an application in which User Interface needs to be build dynamically from XML file, hence we had prepared a Dynamic UI Generator using ADF Faces Rich Client Components. So I wanted to know whether we have such kind of Trinidad Library available so that we can build the UI dynamically (Static approach I understood with the help of your article).
  • shay.shmeltzer Wednesday, February 24, 2010
    Both trinidad and ADF Faces are just JSF components - so assuming your dynamic generation just adds components to the view components tree - it should also work with Trinidad.
  • rashed Saturday, February 27, 2010
    Hi Shay,
    is there any study material available, which
    help me to learn programming adf faces components, not by
    drag & drop n putting little code.
    i need to learn this adf based on java codes in backing or managed beans and adf components, purely. bz i know java n
    i want to program adf components only on java codes.
  • shay.shmeltzer Saturday, February 27, 2010
    Go to the ADF Faces page on OTN - under the download section you'll find the components demo source - this is a full demo of all the components and various features that you get with the source. Note that it doesn't use ADF Binding but rather regular JSF binding.
  • guest Wednesday, October 27, 2010
    Hi Shay,
    Thanks for a very good tutorial !
    Some questions though:
    You did not show how you made the Model with ADF Business Component.
    I want to use the Trinidad flavour because it is free and it supported in JDeveloper but:
    Can I use Model with ADF Business Component freely if the rendering is done with Trinidad?
  • shay.shmeltzer Wednesday, October 27, 2010
    There is no difference in the model layer when using Trinidad vs ADF Faces in ADF. So you could pick up any tutorial that uses either ADF Business Components or EJB or Web service data control and they would basically work the same.
    In terms of license - if you are using ADF Business Components or if you are using the ADF Binding layer you need an ADF runtime license.
    You could of course opt to just use "regular" JSF binding with the Trinidad components if you want to be free of license.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.