I'm trying to use the Dynamic Tabs Template in an ADF 184.108.40.206 application using JHeadstart 220.127.116.11.28.
According to the developerguide section 9.3.1. (Enabling Dynamic Tabs) it should be rather easy to do this.
Set PageTemplate to : /common/pageTemplates/JhsDynamicTabsPageTemplate
Set datacontrolscope to : Isolated
Set Default group Usage to : Region with Page Fragments.
Set Default group Region Access to : Common UI Shell Page.
I use facelets as viewtechnology.
Generating the application works fine.
Running the application results in an error at startup : Error 500--Internal Server Error java.io.FileNotFoundException: /common/regions/DynamicTabs.jsff Not Found in ExternalContext as a Resource
The pagetemplate can't find the reference. The file is nowhere near /common/regions/DynamicTabs.jsff. I actually cannot find it at all.
I can reproduce this behavior on two different workstations.
All of the above works smoothly in 11gR1.
I think it's a bug, at least it looks like it.
What do you think ?
I cannot reproduce this. Are you using a custom version of the dynamic tabs template?
If so, you also need to check the "Use Dynamic Tabs" checkbox at application level. Well, try it with this checkbox checked anyway.
Can you also create a dummy HR project and see whether you have the same issue there?
it is time for "Ripley's believe it or not" I guess....
I am definitely able to reproduce the behavior.
1) Create new ADF fusion webapp
2) Create new ADF BC.
2a) Connection = HR.
2b) create EO, VO for Employees and Departments and also create default AM.
No adjustments, everything default.
3) Refresh Datacontrol palette to have new DC available
4) Enable JHeadstart on ViewController project
5) Create new Service Definition. Accept all the defaults.
6) Go to application Definition and make the following adjustments
6a) Set PageTemplate to : /common/pageTemplates/JhsDynamicTabsPageTemplate
6b) Set datacontrolscope to : Isolated
7) Apply, Save all and generate.
During generation the /common/regions/DynamicTabs.jsff is not added to the project.
Running the new application results in Error 500--Internal Server Error java.io.FileNotFoundException: /common/regions/DynamicTabs.jsff Not Found in ExternalContext as a Resource
Windows 7 64bit
And I also have the OraFormsFaces extension installed. Could that be causing the problem ??
I do not use it in this project, but the fact that it is there and that it is available as in the New gallery ....--> JHeadstart --> JHeadstart OFF Generator indicates that OFF does influence JHS in some way ?
Edited by: lucbors on Jan 18, 2013 7:17 PM
checking the "Use Dynamic Tabs" application-level checkbox does the trick.
According to the developerguide and the hint text in the application definition editor, this only needs to be checked when not using the JHeadstart template.
Do you still want to look into this issue ?
I can reporduce it, but now at least I have a workaround.