Thursday, April 1, 2010

Oracle UI Shell Update Available (1.02)

My colleague told me this morning, he saw that Oracle UI Shell template update is available. And it wasn't April 1st joke ! :-) This update was very important for us, we were facing bugs when multiple dynamic tabs were opened at the same time - its solved now. Thanks Oracle, good job. More about this template you can read on Oracle UI Shell Functional Pattern page.

Oracle UI Shell template is a great pattern for application integration through Dynamic Tabs. I have developed simple application with multiple Dynamic Tabs based on Dynamic Regions from ADF Task Flows packaged into ADF JAR Libraries - ADFIntegrationUIShell.zip. Today post is a next in my Integration series.

First thing, make sure you updated Oracle UI Shell template. Open JDeveloper Check For Updates wizard and from Official Oracle Updates section select Oracle Dynamic Tabs Page Template 1.02:


Next, when you create main page, make sure you select Oracle Dynamic Tabs Shell template from JSF Page creation wizard:


Define managed bean to store Dynamic Region references and to launch Dynamic Tabs, this bean should be declared in PageFlowScope for proper Dynamic Regions rendering:


You can plug-in into Oracle UI Shell different applications through Dynamic Regions coming from ADF Task Flows (Locations, Departments. Jobs, Employees):


Each application will be opened in separate Dynamic Tab - thats really powerful and it works:

13 comments:

Amir Hosain said...

Hi ,

Thank you for your best weblog .
I live in Asia -> Iran -> Tehran .
I see your weblog every week for new techniques in JDevloper .

My name is Amir.

Andrejus Baranovskis said...

Hi Amir,

Thanks, its inspiring to post more good info.

Andrejus

Shubhangi said...

Hi,
Thanks for your reply ... and I have updated my Ui shell updates.
But I am still receiving following error while going from login view to Welcomtaskflow.Any idea


javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'tabContext' returned null
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:262)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
at javax.faces.webapp.UIComponentClassicTagBase.createFacet(UIComponentClassicTagBase.java:510)
at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:661)
at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
Truncated. see log file for complete stacktrace

Caused By: javax.el.PropertyNotFoundException: Target Unreachable, 'tabContext' returned null
at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
at com.sun.el.parser.AstValue.setValue(AstValue.java:133)
at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:259)
at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
Truncated. see log file for complete stacktrace

Shubhangi said...

i made some chanes in my code and now welcome page is rendring but no data is avalaible.I mean a blank page wil correct IE heading(welcome page) is displaying so now i knwo atht i am in welcome taskflow , but not sure why the welcome tab is not rendring

Pedro Medeiros said...

Hi,

congrats for your posts, they are very usefull! ;)

I'm working on a big project to developing a complex system with ADF 11g. We have various applications (packaged in JAR libraries) which should be integrated on a main application. The logical applications should invoke each other and pass parameters.

Following the UI Shell pattern, what is the best approach to pass parameters between the applications?

regards, Pedro Medeiros.

Andrejus Baranovskis said...

Hi Pedro,

You can do this programmatically, UIShell 1.02 supports this.

Andrejus

Anonymous said...

Hello Andrejus,

with interest I follow your blog.

Do you know where to get the new version of ui shell which is described at here:http://www.orastudy.com/oradoc/selfstu/fusion/doc.1111/e15524/ui_impl_uishell.htm

Regards, Baris

Andrejus Baranovskis said...

This one is for Oracle Fusion Apps, we dont have public JDev download yet.

Andrejus

Anonymous said...

Hi,

I wanted source code of Oracle UI Shell 1.02.

Could you tell me from where I can get that?

Andrejus Baranovskis said...

I guess only from Metalink, Oracle Support.

Andrejus

Aaagh said...

Using the method described I implemented the dynamic task flow.
It worked fine until I applied ADF security to the application. The tab header is showing but the rest of the fragment isn't displaying.
Kindly advise.

indusekhar gabbita said...

Hi Andrew,

can build right side navigation also using this UI shell version?? i mean in addtion top,bottom left and center content areas, can we have right side context area too??

Thanks Kishore

Andrejus Baranovskis said...

Yes, you would need to change it in UI Shell source code.

Andrejus