Using Trinidad in JDeveloper 11g for IE 6 Support

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?

Comments:

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!

Posted by Michael Fons on February 11, 2009 at 10:55 PM PST #

Shay, 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.

Posted by Michael Fons on February 16, 2009 at 07:30 AM PST #

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: http://download.oracle.com/docs/cd/B25221_04/core.1013/b25209/reconfig.htm#BABIEHFI It wasn't officially tested but I believe people were able to run ADF 10.1.3 apps on WebLogic 10.3.

Posted by shay on February 16, 2009 at 11:12 AM PST #

Shay, You are the best! Michael F.

Posted by Michael Fons on February 17, 2009 at 12:21 AM PST #

Thanks you so muchhhhh!!!!!!!!!!!!! for that tutorialll!!!!!!!!!!!!!!!!!!! so amazing!

Posted by cesar on September 25, 2009 at 02:07 PM PDT #

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,

Posted by rashed on January 30, 2010 at 02:53 PM PST #

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.

Posted by shay on February 01, 2010 at 01:35 AM PST #

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,

Posted by guest on February 14, 2010 at 02:46 PM PST #

Anonymous, basic steps for deploying ADF 10.1.3 application on WebLogic are here: http://www.oracle.com/technology/products/jdev/howtos/weblogic/deployingwls.html

Posted by shay on February 15, 2010 at 08:16 AM PST #

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). Thanks, Ashish

Posted by Ashish on February 23, 2010 at 04:06 PM PST #

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.

Posted by shay.shmeltzer on February 24, 2010 at 08:08 AM PST #

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. thanks

Posted by rashed on February 26, 2010 at 04:36 PM PST #

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. http://www.oracle.com/technology/products/adf/adffaces/11/doc/demo/adf_faces_rc_demo.html

Posted by shay.shmeltzer on February 27, 2010 at 02:47 AM PST #

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? Thanks!

Posted by guest on October 26, 2010 at 06:49 PM PDT #

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.

Posted by shay.shmeltzer on October 27, 2010 at 01:12 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