UI Shell with BTF from ADF library issue

I've created an application component (Bounded Task Flow) wrapped in an ADF library for reuse. I am able to import this into "normal" ADF applications and place it on a page as a Region. Works as expected and looks good.
I'm attempting to add this to a page based on the UIShell template and am getting an exception on startup:
java.lang.IllegalStateException: The expression "#{bindings.emmain1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
This is typically due to an error in the configuration of the objects referenced by this expression.
If it helps, the expression "#{bindings.emmain1}" evaluates to "null".
If it helps, the expression "#{bindings}" evaluates to "oracle_demo_uist3_view_view1PageDef". Now using an empty RegionModel instead.
     at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
     at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:109)
     at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
<lots more>
The designer shows the UI as expected so I'm assuming something is not configured correctly for runtime (duh!), but I cannot figure out what it is.
I've tried referencing the task flow directly from the navigation bean and wrapping the external BTF in a local BTF and navigating to that. Neither works.
Any help would be greatly appreciated.
Thanks,
Gene

Change the launcher bean to call the imported ADF Library bounded task flow to open it as an activity within one of the dynamic tabs. This is done by referencing the correct task-flow.xml file.

Similar Messages

  • UI Shell - how to allow ADF Library Bounded Task Flow to close itself

    Hi Richard
    Further to my other post, we're having lots of fun with the UI Shell, it's making mockups very easy.
    Question for you though based around the functionality defined in the UI Shell whitepaper. Say we've created our UI Shell application, and rather than wanting to create the bounded task flows in the app (ie.first, second, third), we create them as standalone bounded task flows deployed to ADF Libraries, and imported into our app separately.
    In the UI Shell examples bounded task flows are opened & closed via the UI Shell's own components (say the navigation page items or toolbar buttons), that call the methods in the Launcher bean (_launchActivity & closeCurrentActivity). It's fairly simple to rewrite the launcher helper methods in the launcher bean to call an imported ADF Library bounded task flow to open it as an activity, just referencing the correct task-flow.xml file.
    However as you know a bounded task flow has a "Default Activity" entry point and one or more "Task Flow Return" exit points. What I haven't been able to work out is how when the bounded task flow exits via a task flow return, can we call the closeCurrentActivity method in the Launcher bean? The UI Shell code examples demonstrate closing a bounded task flow by menu options/or similar outside the bounded task flow in the UI Shell, but it would seem reasonable if the bounded task flow exited via a "Task Flow Return" we should be also able to close the activity tab too.
    (....and as extension, before we even do that potentially call the checkState/isDirty() method to stop the user closing the activity too, but again driven by the bounded task flow attempting to exit).
    I could imagine inserting code into the bounded task flow finalizer to close the activity tab, but this pushes the UI Shell tab activity management logic into our standalone ADF Library bounded task flows which isn't ideal, especially if we want to later reuse them in another app which doesn't use the UI Shell.
    Any suggestions welcome.
    Thanks & regards,
    CM.

    And we're back again.... what's a couple months between friends?
    So it turns out after testing our app (d@mn, so close) that we've hit a bug with this approach.
    Our current app allows one BTF to be open in the UI Shell at any one time. Our menu options automatically open one BTF at a time by the user (max one open), and close the previous BTF. However we have some "special" BTFs that require the user to explicitly close the BTF, which in turn makes use of the regionNavigationListener solution I described earlier in this post.
    However we discovered a bug when we do a complete cycle of the 15 embedded regions within the UI Shell.
    Say we:
    1) Open a normal BTF in region 0
    2) Open another normal BTF in region 1 (our solution automatically closes the previous BTF)
    3) We then open another BTF (again the previous BTF is closed) in region 2, yet this a "special" BTF requiring the user explicitly to close it. Upon the user closing the BTF - this results in the regionNavigationListener being called and the removeTab() method called to close down the BTF in the UI Shell
    4) The user then open/closes multiple normal BTFs, one by one, rotating through regions 3, 4, 5 .... eventually back to 1 again
    5) Then the bug occurs - on opening any BTF back in region 2 (as part of the complete cycle of all regions), the tab for the region 2 opens, correct title, and via debugging the Tab.class has all the right settings including taskFlowId, but the tab is incorrectly empty
    doh!
    I've managed to track a symptom of the problem down that may explain what's happening.
    Each time a tab is rendered with a BTF, the Tab classes getBinding() method returns a reference to the binding required for the current BTF. However for some reason on the complete cycle, for "r2" it returns the binding for the previously user-closed BTF from step 3 above, even though we called the TabContext.removeTab() method.
    What I haven't been able to work out is how the bindings get turned on/off dynamically for each BTF being invoked. Presumably for some reason on step 3, the BTF's bindings aren't being correctly removed from r2 even though we called TabContext.removeTab().
    If anybody has any brain waves about what's going on and how to fix this problem, your help appreciated.
    Regards,
    CM.

  • Using skin from adf library

    Hi all,
    I'm using JDeveloper 11.1.2.1.
    Is there a way to use different skins in imported application as adf lib from main application?
    For example, when I go to views from main application it will use its own skin, but when I go to views from imported adf library I want it to use skin imported with adf lib.
    Thanks in advance.

    Hi,
    at runtime you can switch easily. At design time you need to have the skin in the project to show it in JDeveloper. Here skins in ADF library don't work
    Frank

  • When i try and sync my phone with itunes Manually it says it already synced with another library "Admin" and will erase all content and replace with contrent from Itunes library

    When I try to sync my Iphone with Itunes i am getting the error message about it being synced to another I tunes library.  I switched to manually manage music and now the eroor says i am synced to another itunes library "Admin" and all existing content on the phone will be replaced with content from the Itunes library.

    Copy all the content on your iPod back to your PC and into iTunes. Then go ahead and sync the iPod with your new library.
    See this older post from another forum member Zevoneer covering the different methods and software available to assist you with the task of copying content from your iPod back to your PC and into iTunes.
    https://discussions.apple.com/thread/2452022?start=0&tstart=0
    B-rock

  • How to make ADF application from ADF library jar ?

    Hi all experts,
    We used to make adf library jar from an ADF application in jdeveloper.
    Is it possible to do the reverse of it.
    I need to make a adf application from an ADF libraryjar file.
    Regards,
    Hoque

    its possible to get do the application from an EAR file
    New Galleary - Application - Application from EAR file.Project can be done using WAR file
    New Galleray - Prjects - Project from WAR filefor SOA we can do file - import - SOA Achive into soa project

  • Ipad won't sync with photos from Aperture - library cannot be found

    Ok I give up. When trying to sync my photos onto my new ipad from Aperture in iTunes I keep getting the message "iTunes cannot sync photos to the ipad because your Aperture Library could not be found. Open the preferences window in Aperture and enable the preference to share previews with other applications. Well the library is where it should be in the Home folder and then pictures. I have the latest version of iTunes and Aperture. The only similar setting I can find in Aperture preferences is under Previews and Share Previews with ilife and iwork, no mention of itunes?
    I've gone into my Aperture show contents and deleted the cache folder ipod photo cache (I previously synced to my iphone 3GS). It works syncing to iphoto, as I have tested it and the iphoto is in the same folder as the Aperture library so they are in the right location.
    I am now at a loss as to what to try next......PLEASE HELP ME....
    I don't want to have to have a Aperture library and an iphoto library on the go!

    Hi,
    iTunes cannot sync photos to the ipad because your Aperture Library could not be found.
    If you have an external drive connected to your Mac, disconnect that, restart your Mac, restart your iPad and try syncing photos from Aperture.
    Carolyn

  • Migration to Photos: Trouble with import from iPhoto Library

    I have just upgraded to OS X Yosemite (10.10.3). When I first opened Photos, it wanted to convert my iPhoto Library to Photos. After some hours of working with the 165.2 GB iPhoto Library, it told me that I don't have enough disk space. I believed that if I free my MacBook Pro from those 165.2 GB, I might solve the problem. So yesterday, I stored it on an external USB drive (a solid state drive of OWC with USB 3.0 connection to my MacBook), deleted the iPhoto Library on my harddisk, and opened Photos. In Photos, I chose Menu > File >Import , and navigated to the external drive. However, clicking the file icon and name does not release into any import. What shall I do to import data from my iPhotos Libray?
    Suggestions will be most appreciated and rewarded with a virtual box of Mozart Kugeln.
    Erik Thau-Knudsen

    You don't import it, you simply open it:
    Hold down the option (or alt) key key and launch Photos. From the resulting menu select 'Choose Library'

  • My ipod is full. How do I delete these and replace them with tunes from my library

    My IPOD Nano is full and I would like to replace all of these tunes with others available in my ITUNES library on my computer. How do I simply replace the entire device selection with a new collection.?

    sorry for the      caps lock thing
    some very big toes out there
    nothing is changing after multiple sync attempts the device content remains unchanged, It does not vary even if I try unchecking selections, manually selecting for only artists beginning with "a" , nothing exchanges items on the nano for any chosen selction on the PC Itune library/
    sorry again for inadvertently expressing my frustration

  • HT4640 does this work with videos from video library

    I want to be able to embed videos from youtube is this possible?
    Thanks.

    No Amazon does not make a Application to watch their content on Apple TV. I imagine because they are competing with each other in offering video content. To be honest I have both a Apple TV and Roku and I think Roku is much more open simply because they are not really in the content business. They are in the hardware business. Apple on the other hand has both hardware and content. I think they both Apple TV and Amazon offer similar content so I am not sure unless your a Amazon Prime sub that Apple TV cannot provide a good experience. I actually watch some series on Apple TV for the 1080P offerings and use Amazon for some older content that sometimes is cheaper. I have yet to find a one service option that covers everything. In my house we have Apple TV, Roku, Netflix, sometimes Hulu and YouTube. Streaming is still developing and for me I cannot say one service or device is better then another. Another option for Amazon is simply run Amazon content through your PC or Mac on your TV. I do that very frequently and find it a good option.

  • How to list selected parent and child rows with values from ADF TreeTable

    I created one tree table having three levels using DepartmentsVO, EmployeesVO and
    JobHistoryVO where these tables contains parent and child relationship on database.
    Then i added one more column to the tree table which displays selectBooleanCheckBox. This
    check box is available for parent and child rows in that column.
    My first concern is i
    want to list out all the parentids and its child ids from three levels where the check
    box is selected.
    second concern is
    if i select the check box for a parent row, then the remaining check boxes for child rows also select automatically which are comes under the parent row.
    Thanks in advance.
    jk

    hi Frank,
    Thanks for the quick reply...
    As I mentioned before I am able to get the children using JUCtrlHierNodeBinding. but wanted to change the value of child row which have specific data.
    Is it possible through JUCtrlHierNodeBinding to update data of child and parent?? If so then can you please post the code snippet for the same???
    Viral

  • How do I move a Project with Masters from one Library to another?

    I tried to file > Export the Project as a Version, also as Original and finally as a Library to my Desktop.
    Then, I opened the receiving Library, the folder > Import . . . the Folder on the Desktop shows as empty and it is not empty.
    Any suggestions?

    You need to export the project using
              File > Export > Project as new Library
    and in the receiving library
         File > Import > Library
    at least in Aperture 3.x.x. - what is your Aperture version?
    Regards
    Léonie

  • Looking for an app that will share slideshows to Facebook and play music from my library?

    So, I'm looking for an app that is free that will share a Slideshow from my photos and post it to facebook with music from my library in background?

    @x62
    I don't think that the inbox is an off line folder from which an attachment can be viewed off line, right?
    No, incorrect. The inbox is an *off line* folder, just as it is on a computer. Once you download the email from the server, it is in your iPod/computer and you can access it when you like.

  • Issue with webservice data control while invokin bpel process from ADF side

    Hello Experts,
    we are creating webservice data control to invoke bpel process from ADF side.
    When I run the application and inovoke the bpel every thing is working fine.
    But when we are changeing the instances from DEV to SIT the bpel url(hostname and port) will change.
    So we just edited DataControls.dcx file and we just replaced the wsdl url and trying to run the applicaiton.
    This time the applicaiton is not invoking the bpel process.
    If I remove the webservice data control and recreate it with new WSDL url then it is working fine.
    Can any one tell us what the exact issue is. Is there any other files do i need to modify or etc.
    Thanks & Regards
    Gayaz

    DataControls.dcx & connections.xml (.adf/META-INF)

  • ADF Libary Issue - Application Module disappear from data control

    Hi All,
    I am facing an issue while adding an Application module to an ADF project as an ADF libray.
    I have two applications - ADF Application1 with Model1 project having an Application module AM1, ADF Application2 with Model2 project having an Application Module AM2
    I have created an ADF library jar file of Model1 project.
    When I add it to Model2 project, the Application Module AM2 of Model2 disappears and Application Module AM1 from the library appears in data control.
    Please suggest what could be wrong.
    Regards,
    Rekha

    Hi,
    verify that both application modules don't share the same ID in their databindings.cpx file. Which release version of JDeveloper 11g are you on ?
    Frank

  • HT1209 My Itunes Library and iPhone have fallen out of sync on music over the yearsare - how can I compare my itunes library with my Iphone  to see what songs are missing from my library so I can then bring my Library up to date

    My Itunes Library and iPhone have fallen out of sync on music over the yearsare - how can I compare my itunes library with my Iphone  to see what songs are missing from my library so I can then bring my Library up to date

    Hello Solid Buck,
    Thank you so much for providing the details about the duplicate song issue you are experiencing.  It sounds like you would like to remove the duplicate songs that will not play on your iPhone, but when you connect it to iTunes, iTunes only shows you one copy of the song on your iPhone. 
    In this situation, I recommend deleting the individual songs that do not play directly from your iPhone.  I found the steps to do this on page 61 of the iPhone User Guide (http://manuals.info.apple.com/en_US/iphone_user_guide.pdf):
    Delete a song from iPhone: In Songs, swipe the song, then tap Delete.
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • How to change the network name and line name on iPad 4?

    Could anybody help me how to fix this problem? Previously I used qb (a mobile network in Cambodia) for my iPad 4 (iOS 7.0.4 non-jailbreak) the network name is qb. The problem is that after I changed to use SMART (another mobile network in Cambodia) f

  • FM PRICING

    Hi, I need to speed up a process where we call function module SD_SALESDOCUMENT_CREATE in testmode only to get the pricing (conditions) determined. This is far far to slow. I do not want to replace it with a BAPI - this will be far to slow as well, b

  • System Sluggish when moving Files

    Hi When copying files, usually in the GB range, 8-12Gb mostly. The whole system slows down and becomes sluggish. I assume it is something to do with using external drives still setup as NTFS as a legacy from WIndows. It even slows down widgets like a

  • No Audio on AVI Files

    When I play my AVI movie files from my Casio Exilim camera on Quicktime, I can only see the video with no audio. But I can hear the audio on my PC with Windows Media player if I put them on a flash drive and transfer them to my PC. Is there a codec o

  • How can I unlock the masters once pulled into my layout for editing?

    I am trying to edit my pages after pulling the masters into them, but I can't do it. I am right clicking on the page and I get a "unlock All on page" option, but it is not doing anything. Can someone please advise, I am new to this. I know you can un