Problem importing adf library jars

Hi all
I have a adf application (portalapp) into which I have attached another Application(partapp) as a ADF library jar. Once I add the jar, there seems to be a problem with loading the bindings from the databindings.cpx of the portalapp.
FacesContext fc = FacesContext.getCurrentInstance();
         Object returnObject =  fc.getELContext().getELResolver().getValue(fc.getELContext(), null,"data");
         BindingContext bc = (BindingContext)returnObject;
         DCDataControl *dcLookups* = bc.findDataControl("AMName"); The dclookups is null when I try to find an AM from the portalapp but returns the correct value when I try to access an AM from the partapp ( the application which is added as a jar)
Edited by: janak on Aug 4, 2011 8:31 AM

As per the documentation (chapter 33) when I add the external library to the project the Datacontrols from the JAR is not appearing in the datacontrols list. When I add the same JAR to a different project it works perfectly as expected.
In the debug output I get the following
<BindingContext> <put> [168] BindingContext.put(portalapp_ui_reportsCAIPPageDef, oracle.adf.model.binding.DCBindingContainerReference )
<BindingContext> <put> [169] BindingContext.put(portalapp _ui_reportsCADSPageDef, oracle.adf.model.binding.DCBindingContainerReference )
<BindingContext> <put> [170] BindingContext.put(portalapp _ui_feeRecordsPageDef, oracle.adf.model.binding.DCBindingContainerReference )
<MOMParserMDS> <<init>> [171] MDS parser created
<JUApplicationReference> <resolve> [172] JUApplicationReference resolving partapp.ui.DataBindings.cpx
<ContainerDefImpl> <loadContainees> [173] Loading the Containees for the Package 'DataBindings.DataBindings'.
<ContainerDefImpl> <loadChildContainers> [174] Loading Child Containers for the container 'DataBindings.DataBindings'.
<JUMetaObjectManager> <registerDefinitionFactory> [175] JUMOM - registering factory: [ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)', http://xmlns.oracle.com/adf/controller/binding, oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl
<BindingContext> <put> [176] BindingContext.put(partapp ServiceDataControl@ partapp _ui_DataBindings_cpx, oracle.adf.model.binding.DCDataControlReference )
<BindingContext> <put> [177] BindingContext.put(partapp _ui_ViewDepartmentsPageDef, oracle.adf.model.binding.DCBindingContainerReference )
.But in the perfectly working workspace it does not do the <JUApplicationReference> <resolve> [172] JUApplicationReference resolving partapp.ui.DataBindings.cpx

Similar Messages

  • Work with ADF Library jar file

    Hi
    My English isn't very good
    I use jdeveloper11.1.1.3.0
    I want to work with ADF Library jar file.
    I created two generic application. In each application I have a View Obj(one for employees table and one for department table ) and added them to App Module,
    then I made a ADF Library jar file for each application: adflib_emp, adflib_dep
    Then I created two separated application and in each application I created a BTF .
    In emp_TF1 I added adflib_emp jar file to application and in dep_TF2 I added adflib_dep jar file to application.
    These two applications work well. Then I created ADF Library jar file for each of these applications named: adflib_TF_1 and adflib_TF_2
    Finally I designed a main page to use these two jar file(adflib_TF_1 , adflib_TF_2). I added thses two jar file to application and then I dragged and dropped each TF to main page as a region:
    <af:panelSplitter id="ps1" splitterPosition="500">
    <f:facet name="first">
    <af:region value="#{bindings.emp_TF1.regionModel}" id="r1"/>
    </f:facet>
    <f:facet name="second">
    <af:region value="#{bindings.dep_TF2.regionModel}" id="r2"/>
    </f:facet>
    </af:panelSplitter>
    When I run main application both TF show employees table, but one TF should shows department table and the other one should shows employees table.
    I read oracle document and created my application on base of it. But I don't know why this happen and how to solve it?
    Habib
    Edited by: Habib Eslami on Apr 7, 2013 8:46 PM

    Hi,
    most likely the names of the application modules are not different but the same, which means you have a naming problem. Application modules (if they should be used as is) must have a unique name
    Frank

  • 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

  • ADF Library JAR creation?.

    Hi,
    How to create ADF Library JAR
    by using pure ANT script without ojdeploy.Please give any solution.
    Regards,
    Rengasamy.A
    Edited by: Vass on May 9, 2011 9:51 PM

    Hi Vinod,
    I have achieved this solution from apache ant. But I have facing one problem
    1. While creating jar file using Jdev, two files are created .These files are: task-flow-registry and oracle.adf.common.services.ResourceService.sva
    2.How to create these two files using ant?.
    I have referred the below link.
    [http://www.oracle.com/technetwork/articles/adf/part4-098813.html]
    But i cant to create these two files.
    Regrads,
    Rengasamy.A

  • Maven and "adf library jar"

    Hi,
    I'm trying to create an "adf library jar" using maven in jdev 11gR2 : how to have the same jar with "jdev deployment" and "maven-->package" ? Is it possible?
    Thanks
    Clément

    Hi,
    In order to determine which jars are needed for ADF, you need to check the dependencies in JDeveloper and write each jar down.
    If by any chance you are using JDev 11.1.3, its the following jars:
    CONTROLLER
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-api.jar                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.controller_11.1.1\adf-controller-rt-common.jar                           
    MANAGEMENT
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.management_11.1.1\adf-em-config.jar                          
    MODEL.GENERIC
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model.generic_11.1.1\bc4jdomgnrc.jar                         
    ADF.MODEL
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-client.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfbcsvc-share.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-controller-schema.jar                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfdt_common.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adflibfilter.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adflibrary.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfm.jar                                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfm-debugger.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfmportlet.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adfmweb.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-runtime-mbean.jar                       
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adf-sec-idm-dc.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adftags.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\adftransactionsdt.jar                       
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jhtml.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jimdomains.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4j-mbeans.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jsyscat.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\bc4jwizard.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\datatags.jar                                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\db-ca.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jdev-cm.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jmxdc.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\jr_dav.jar                                  
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\oicons.jar                                  
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\ordhttp.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\ordim.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\rcs-adflib-rt.jar                           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\rcsrt.jar                                   
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.model_11.1.1\regexp.jar                                  
    PAGEFLOW
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-dtrt.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-fwk.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-impl.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.pageflow_11.1.1\adf-pageflow-rc.jar                      
    SECURITY
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.security_11.1.1\adf-controller-security.jar               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.security_11.1.1\adf-share-security.jar                    
    SHARE.CA
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-base.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share.ca_11.1.1\adf-share-ca.jar                          
    ADF.SHARE
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adflogginghandler.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adfsharembean.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-support.jar                        
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\adf-share-wls.jar                            
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\jsp-el-api.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.share_11.1.1\oracle-el.jar                                
    ADF.VIEW
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-dt-at-rt.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-dynamic-faces.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-changemanager-rt.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-dt-core.jar           
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-databinding-rt.jar                
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-registration.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-templating-dt-core.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-faces-templating-dtrt.jar                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-api-11.jar                     
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-automation-11.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-richclient-impl-11.jar                    
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-share-web.jar                             
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\adf-view-databinding-dt-core.jar              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-databindings.jar                          
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-faces.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-facesbindings.jar                         
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-jclient.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-trinidad.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\dvt-utils.jar                                 
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\oracle-page-templates.jar                               
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-api.jar                              
    %MIDDLEWARE_HOME%\oracle_common\modules\oracle.adf.view_11.1.1\trinidad-impl.jar                             -Anton

  • ADF Library Jar: Bundle-Classes-Information for Declarative Component

    Hi,
    when we deploying some adf-taskflows as a adf library jar we can add some content with technical namings and user friendly strings.
    see the good adf code corner example: [url http://www.oracle.com/technetwork/developer-tools/adf/learnmore/52-taskflow-in-lib-169195.pdf]Advanced Tip: Customizing the ADF Task Flow name in the ADF libray (Page 16)
    Is this also possible for declarative components?
    Technology: ADF 11g / JDeveloper 11.1.1.4 / Fusion Stack (ADF BC / ADF Model / ADF Faces)
    best regards
    Martin

    Hi,
    no, unfortunately not
    Frank

  • Having a problem import my library from an older version of 3

    Apple replaced my computer.  I did not import my old library before upgrading to aperture 3.3.1.  I get a meessage when trying to import the library. "The library could not be imported because it is from an out of date version of Aperture 3. Please upgrade the library to the latest version of Aperture 3 and try again."  I don't see how to upgrade the library so i can import it into the new version of aperture.

    There are a some fonts that gets installed with the Adobe app, and only get loaded when Ilustrator is booted.
    /Applications/Adobe Illustrator CS6/Adobe Illustrator.app/Required/Fonts/
    To better help you will need answers to these questions
    What OS you are on
    What fonts you are having trouble with
    Do you use any font utility such as an Extensis product, or fontbook on mac to manage you fonts.
    as this also may be a problem with your font cache needing to be reset.

  • Problems importing my library

    I have been having trouble with itunes for months now, since I got my new laptop. Everytime I try to import my itunes library it appears to be there and then when I go back on all the music is gone from itunes. All the music is in the correct file and itunes is linked to this file I just do not what's going wrong. Any help would be greatly appreciated.
    Thanks,
    Becky

    Its some software on the Vaio that is causing the problem. There are many posts about this issue. You can find them by searching for vaio. You need to either stop it from watching the itunes folders, or stop the vaio program that does it. I think there is an update to solve this problem on the sony site.

  • Problem importing large library

    hey all
    im running 9.02 on a macbook pro (one of the 13 inch alum ones, so its about a year old). i've never really got the nerve to import the music from my external hardware to my itunes until recently as i just got a new ipod. when i import the entire library (it's massive, about 170gigs), i get nothing but probelems. it begins running slow, and when the external is hooked up to the computer, itunes simply crashes and i'm forced to "force quit". all of these files are standard m4a's or mp3's and have worked independently on my old computer or to a lesser extent on my new computer, but when i try to put them ALL into my library, it doesnt seem to want to work... any ideas?

    Pecoradj wrote:
    sorry, i didn't really describe the problem too articulately; the songs are all on the hard drive except for a few. it's like if the hard drive is plugged in, the tunes wont play and itunes will freeze, but if it's not plugged in, itunes wont freeze and i'll be able to play songs (only the few songs i have on my internal drive)...
    Is your drive bus-powered?
    When you try to move them to your mabook pro, what method are you using?

  • Problems importing iPhoto library into Aperture 3

    When I got my mac, I imported a collection of images on an external drive into iPhoto, and worked with them there. I also imported images from memory cards directly into iPhoto.
    During the original import, I selected the "leave files in place" option. For the direct imports from memory cards, I just imported them. I didn't realize that it would bundle everything into a single file when I did that, and I wasn't expecting what I ran into next...
    I finally purchased a copy of Aperture 3 for its more powerful tools and smoother workflow. After installing it, I imported my iPhoto library into it, with the leave in place option... and found that Aperture couldn't load most of the images. It shows placeholder frames instead.
    I have tried reconnecting the masters, to no avail; their paths are correct, so they're not changing, and Aperture insists that the masters are missing before and after.
    I tried repairing the database with the database first aid tool, and it had no effect.
    I tried rebuilding the database, and the result was disastrous; after that I had *no* images in Aperture. None. Even the few that I'd imported directly from media into Aperture were gone.
    So I restored my Aperture database from my TimeMachine backup which impressed me with how easy it was, and now I'm back where I started... most of the images imported from iPhoto are inaccessible in Aperture, so I can't use Aperture for most of my image editing, even though iPhoto reads them without any trouble.
    Any suggestions?

    Frank:
    Yes, all of the images are available in iPhoto, whether they're in the iPhoto library, or on the external drive.
    Aperture isn't showing any symbol other than the dotted line frame, at least none that I've seen yet. I thought at first that it was the images on the external drive that were missing, but it's actually showing some of them, and not showing others even in some cases ones in the same folder. If a screenshot would help, I'll capture one (I don't know how to do that in OSX yet, though I suspect it's just a matter of the right key combo?).
    CalxOddity: It's an OSX volume, but I'm not sure how to determine which filesystem it's using, or else I'd be more specific.
    leonieDF: It is a network volume, one of the Time Capsule drives. Though I knew it would slow down loading, I didn't expect any other problems, since iPhoto doesn't have any.
    Thanks!

  • Problem importing iTunes library from old PC to new PC using Windows 7

    Hey guys,
    I just recently upgraded my computer and have Windows 7 64bit. I have taken my old iTunes library folder and placed it on my iPod using Disc mode. I than have taken that library and have placed it in my music folder on my new computer. But when I open up iTunes none of my content is in there. I go back and look at my music folder and iTunes has created another folder.
    Can anyone help me solve this problem?
    Thanks so much

    I have taken my old iTunes library folder and placed it on my iPod using Disc mode. I than have taken that library and have placed it in my music folder on my new computer
    Did you copy the entire \Music\iTunes\ folder?
    If so, hold Shift and launch iTunes.
    Select *Choose library*.
    Select the _iTunes library.itl_ file in \Music\iTunes\ folder.

  • TP4 reusing ADF library migration problem

    Hello,
    I have an application containing multiple Business Components and View Controller projects.
    Common functionality is shared as ADF library between view controller projects. The applicatio was created with TP3 and is working just fine. When ported to TP4, it seems that part of the functionality shared as ADF library is not working.
    To be more specific: the login page is using a backing bean to check the authentication details against the database. The following code is working properly:
            appModule =
                    (ApplicationModule)((DCBindingContainer)getBindings()).getDataControl().getApplicationModule();But, when accessing the BC module from a phase listener using the following code:
            DataControl dc = event.getLifecycleContext()
                .getBindingContext()
                .findDataControl("SharedModuleDataControl"); DataControl is null.
    The same phase listener is working properly when used within the project it was created (and not as imported ADF library)
    Once again, this is happening with TP4, with TP3 everything is working fine.
    Thanks,
    Florin Marcus

    Gabrielle,
    The root of the problem is that JDeveloper makes a copy of the adf-faces-impl.jar in the WEB-INF\lib directory in your project directory. So what was happening is the project contained to old version of this library that still referenced the "selected" attribute. When you built and then ran the project against the new runtime libraries that no longer had this "selected" attribute, the error occurred.
    So the solution to this problem would be for JDeveloper to not copy these libraries into your project directory or to detect that the version has changed and warn you or prompt you to copy the libraries again.
    Jim

  • ADF Library problem...

    Hi all,
    I hope someone can help me with this. I'm using JDeveloper 11.1.1.2
    I have an application with three projects, two models and a view controller,
    I have business components (Entity Objects) in the first model project deployed to an ADF library which i added to the second model project by creating a new file connection referencing the jar file. This initially worked fine, and in the second model project, I was able to create view objects using the entity object referenced from the ADF library jar file, with LOV's also referencing view objects which are in the ADF library jar file.
    Once I exit jdeveloper and restart however, any attempt to open the view object xml file in the second model project results in the following errors
    Feb 8, 2010 6:40:22 PM oracle.adfmdt.log
    WARNING: JboObject is null forjar:file:/C:/Work/deploy/cBCModelLib.jar!/company/test/model/view/lov/LocationsLVO.xmland
    Feb 8, 2010 6:40:22 PM oracle.jbo.dt.dependency.xdf.Utils getJboBaseObject
    WARNING: JboObject is null forjar:file:/C:/Work/deploy/cBCModelLib.jar!/company/test/model/view/lov/LocationsLVO.xmlWhich are repeated multiple times in the log at the point of opening the xml file (design time, not at run time) and the entity object can no longer be referenced.
    It's as if jdeveloper "forgets" the ADF library reference once the IDE is closed.
    I looked in the Jar file, and all the objects are actually there. the model.jpx files in all the projects are named differently so there is no conflict there. I have tried multiple ways of adding the ADF library
    From the IDE connections
    From project properties->business components-> import
    From model.jpx properties-> import
    From file menu->import
    and as soon as you reload the ide... all the references to objects in the jar file stop working
    Has this happened to anyone else? Is there a solution to this?
    Thanks

    Found it...
    My Mistake.
    I had created the view object in a package that was used by objects in the ADF library, apparently that's not right. Once a package is used in an ADF library, a consuming project is should not (though nothing stops you, and the error message is not very informative) create objects in the same package. It might help if an warning was raised as soon as the view object was created.
    Thanks

  • Right way to manage ADF Library Dependencies

    Hi,
    I am working on an application where we are trying to components in individual Libraries for re-usability and logical grouping.
    These jar files are then imported into parent projects which can result in different levels of dependency hierarchies.
    From what I have seen there are different ways of importing components / libraries onto a project.
    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent project
    My question is:
    a> What is the difference between these three ways of importing components from one project to the other.
    b> Which is the best way for deployment and future maintenance.
    thanks
    Edited by: user595592 on Aug 12, 2011 5:18 AM

    1. We can directly drag a component like Data control (from Data Control palette) from one project to a page on another (for example from a model project to a ui project)This will be applicable if you have a dependiency.. ro you have an adf library reference for your project..
    datacontrol - Business components referenced in bc4j.cfg
    other datacontrlols will be defined in DataBindings.cpx file
    2. Deploy the model project as a ADF library jar, go to the resource palette, create a connection, right click on the library and do an add to project.This is through file connection.. This is the most prompt way of adding libraries.. to the project.. so that there wont be an absolute references..
    3. From the resource palette, expand the library structure, locate the Data control and drag it onto the page of the parent projectagain same as poiint 2.. but for datacontrol..
    a> What is the difference between these three ways of importing components from one project to the other. point 1 say dependecies.. in a single applicatioon between different project.. absoultely fine..
    point 2.. will alway go with relative path.. and have an advantage of not having absolute path..
    point 3. si same as 2
    b> Which is the best way for deployment and future maintenanceI will suggest you to go for 2.. as its the standard way of adding libraries..

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

Maybe you are looking for

  • Unable to see a column of a table in portal for a particular User

    Hi, A particular user is unable to see a particular column of a table in the portal . The application is developed in Webdynpro ABAP. The table contains two columns. Both the columns contain text type fields. What appears to the user is that the left

  • Internal Microphone Problem

    I am the owner of a A305-S6829. When the lid is open the microphone does not function. It is necessary to barely close the lid to make it function. I think the problem is that the wire harness of the camera and the microphone is in some way broken an

  • Select a tray on printer OCE Vario 1200

    Hi all, How can I select a tray on an OCE Vario 2100 when printing from a smartform? I tried to print the sample-text SAPSCRIPT-TRAYTEXT. This should take sheets from several tray's but it only used the default tray. I tried putting printcommands TRY

  • Problems with File Names, Placing, and Tracing Options in Actions

    I am trying to make an action that would place .psd files that are in a folder into Illustrator, trace using a custom option, (possibly expand),scale, and save. I would like the title to be the same as the psd file but ending in .ai instead of .psd.

  • Dropping first product from vendor punch-out catalog

    Hi, We are having classic scenario implemented with GOA on SRM server 5.5 and support pack 9 with CCM2.0. Currently we are facing an issue for one vendor punch-out catalog. When we are choosing multiple products from vendor catalog,it is dropping fir