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:
Hi ,
ReplyDeleteThank 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.
Hi Amir,
ReplyDeleteThanks, its inspiring to post more good info.
Andrejus
Hi,
ReplyDeleteThanks 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
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
ReplyDeleteHi,
ReplyDeletecongrats 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.
Hi Pedro,
ReplyDeleteYou can do this programmatically, UIShell 1.02 supports this.
Andrejus
Hello Andrejus,
ReplyDeletewith 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
This one is for Oracle Fusion Apps, we dont have public JDev download yet.
ReplyDeleteAndrejus
Hi,
ReplyDeleteI wanted source code of Oracle UI Shell 1.02.
Could you tell me from where I can get that?
I guess only from Metalink, Oracle Support.
ReplyDeleteAndrejus
Using the method described I implemented the dynamic task flow.
ReplyDeleteIt 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.
Hi Andrew,
ReplyDeletecan 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
Yes, you would need to change it in UI Shell source code.
ReplyDeleteAndrejus