Component referencing libraries from other component

Hi,
Is it possible to have a component which uses the libraries defined in another component?
I would like to have one component with libraries only and any other component to be able to reference those libraries hence removing the need to put the libraries in each component.
Thanks,
Vlad

Hi Vlad, this is perfectly possible. Make sure your library component has its class-path's set up correct and your other components should be able to reference these classes without any additional effort (as long as your library component is deployed and enabled).
It might be wise to setup a feature in your library component (in component wizard, goto advanced build settings and fill in "Feature Extensions" field with something, ie. MyLibraryComponent). In all your other components you can than put in the required features field the same string; ie. MyLibraryComponent. This should tell anyone who disabled the library component that it is required instead of just generating a bunch of classnotfound exceptions. Setting up this feature thing is not required to make things work.
Regards,
Fabian

Similar Messages

  • Can i use one JSF component's value for other component in the same page.

    Can i use one JSF component's value for other component in the same page.
    For example
    I have a <h:selectBooleanCheckbox id="myChk"> in my jsf page, i want to access its value for another component like:
    <h:commandButton disabled="#{myChk.checked}" action="myAction" value="myValue" />
    ** "myChk.checked" >> I am just asuming "checked" property is available...

    Bind the checkbox to a UIInput myChk property. Then you can reference this property from the page, e.g.
    <h:selectBooleanCheckbox binding="#{myBean.myChk}" onchange="submit();" />
    <h:commandButton disabled="#{myBean.myChk.value}" action="myAction" value="myValue" />

  • Reg : Pass One Component's value to other component's value

    Hi all,
    I have the following code . Here I want to Pass :Pass One Component's value to other component's value
    <af:image binding="#{backingBeanScope.backing_OText.i1}"
    id="i1"
    source="#{(SkinBean.skinFamily == 'MSIE_D2I3')?'/images/d2i3Logo.gif':'/images/UDR_logo.jpg'}"
    shortDesc="Hello World"/>
    <af:spacer width="100" height="10"
    binding="#{backingBeanScope.backing_OText.s1}"
    id="s1"/>
    <af:outputText
    binding="#{backingBeanScope.backing_OText.ot1}"
    id="ot1"
    inlineStyle=" font-weight:normal; font-size:32pt; font-family:Georgia, 'Times New Roman', times, Serif;"
    value = *"Here I want to pass the value as 'Hello World' from The Image Component's ShortDesc"*
    Please give me the solution .
    Thanks inAdvance .

    since you already have the backing bean, you can try to set the value property to
    #{backingBeanScope.backing_OText.i1.shortDesc}regards,
    ~Krithika

  • HT4557 Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!

    Shared libraries from other people's libraries showing up permanently on MacBook Pro. And a lot of purchased and ripped songs vanished... Anyone...please help...?!?!
    The home sharing is now off and still has all the songs one there. Even rebooted the wifi modem, supporting hard drives and all computer involved in this catastrophe!! :( all computer are all updated and updated to the new iTunes.
    Please any help would be greatly appreciated and any more questions welcome. Thanks

    Basically anything not purchased from iTunes that is on my iPhone 6 will not sync over to my MacBook. I have tried to just manually back it up but only the purchased music will sync over to iTunes.

  • Accessing a button in a Component from other component

    I have a two components Test_Interface.mxml & teacher_fullscreen. I called teacher_fullscreen.mxml from Test_Interface.mxml by
                  private var tfull:teacher_fullscreen = new teacher_fullscreen();
                  tfull.title = "Teacher Window";            
                  tfull.maximizable=true;             
                  tfull.systemChrome = 'none';
                  tfull.minWidth = 800;
                  tfull.minHeight = 600;             
                  tfull.open();              
    Now I created an instance of Test_interface in my 2nd mxml by
    public var par:Test_Interface=new Test_Interface();
    Actually, I wanted to disable a button in Test_interaface.mxml with id = "b1" from my 2nd mxml using the object created above.
    So I gave par.b1.enabled=false; It did not give any compile errors but during run time cannot access object or method of null reference sandbox error was returned for the statement par.b1.enabled=false. So how do I change the property of a button in one component from other. Please Help me.

    We need more information.
    1) Is this an AIR application?
    2) What is the name of the main app MXML file??
    3) Please boil this down to a minimal yet complete set of code files and post the entire code here for all files.
    I think based on what you mentioned you should be able to boil it down and post just a few lines of code for each file and the answer to your problem should come soon. But with the error you are getting it is too easy to make assumtions that may not reflect your situation.

  • Disappearing referenced libraries from NWDS

    I have installed NWDS 7.1 SP11 and I referenced SAP system library (Variable SAP_SYSTEM_ADD_LIBS) in my project's build path... whenever I close and re-open the IDE, the referenced libraries are gone from package explorer and I get compilation error.
    SAP_SYSTEM_ADD_LIBS remains on Libraries tab of my build path though.. I have to perform the Add Variable step again to reference the libraries... Am I missing something?

    Hello
    We will move this thread to the [Java Programming |Java Development;forum. Hopefully you will get a better response on that forum.
    Regards
    XI/PI Moderator

  • Create trigger if referenced column from other db not exists

    I have such scenario: there are two databases DB1 and DB2.
    DB1 has table MyTable and new column was added NewCol.
    On the DB2 table a trigger was created that updates DB1.MyTable.NewCol.
    Both scripts generated by SSDT are correct but the problem is during deployment. I have an automation tool which executes publish scripts in a predefined order. In this case DB2 is executed first and the scripts fails because referenced column from DB1 doesn't
    exist yet.
    Do you have any idea how to overcome this issue? Off course I could change an order in which scripts are executed and create DB1 before DB2. But in other scenario I could have a cross reference dependency and I am afraid there is no use for SSDT in such
    case.

    I found a workaround. The solution is to handle it manually in an pre-deployment script.
    In this scenario I added pre-deployment script for DB2 to check if new column exists in DB1 and if not then create it.
    IF (OBJECT_ID('ATC.dbo.tblDisplayStatusOverview') IS NOT NULL)
    BEGIN
        PRINT 'Checking if columns exists ATC.tblDisplayStatusOverview.IPAddress...'
        IF (COL_LENGTH('ATC.dbo.tblDisplayStatusOverview', 'IPAddress') IS NULL)
        BEGIN
            PRINT 'Adding column ATC.tblDisplayStatusOverview.IPAddress...'
            ALTER TABLE ATC.dbo.tblDisplayStatusOverview
                ADD [IPAddress] VARCHAR (15)  NULL;
        END    
    END

  • Portal Component receives GET from other app out of the Enterprise Portal?

    Hello.
    I want to design a portal component, to which i can send GET-Parameters via URL.
    The sending application runs out of the enterprise Portal and has a simple HTML-form (The portal component generates HTML and JAVA-Script for a Flex Application in the Enterprise Portal which should point to a specific document named in the params. The params will be written into the generated HTML document after calling).
    Is this possible without authetification and how would the URL looks like, which is used to call the enterprise portal?
    Pls help me.
    With best regards
    Edited by: Björn Karpenstein on Aug 15, 2008 11:02 AM
    Edited by: Björn Karpenstein on Aug 15, 2008 11:03 AM
    Edited by: Björn Karpenstein on Aug 15, 2008 11:05 AM

    Hi Björn,
    you can access request parameters with the following code in the standard methods of your Portal Component:
              // IPortalComponentRequest request;
              request.getServletRequest().getParameter("ParamName");
    The direct URL of your Portal Component without a specific iView is:
    http://
    If your component should be directly accessable without authentication you must add the following property in your portalapp.xml in the the component-profile section:
          <component-profile>
            <property name="AuthScheme" value="anonymous"></property>
          </component-profile>
    Best regards,
    Stefan Brauneis

  • TS2972 Am trying to share Libraries from other computers to Apple TV.  Am able to share from the laptop but the library from the Imac.  Any suggestions?

    I am able to share the Library from the Mac laptop but not the Imac.  Any suggestions?

    You can share multiple libraries with the Apple TV, they don't even need to use the same iTunes account. Just make sure that you use the same ID for homesharing on all devices.

  • Deployment: Deploying external libraries from dependent projects

    Hi,
    i need some help for the following issue.
    How do I deploy external libraries from dependent projects? I have one project for the model layer which references TopLink JPA library and an other project for view/controller based on JSF/ADF Faces. The view/controller project has the model project as dependency.
    For the view/controller project i have created a WAR deployment profile. On deployment all classes and referenced libraries from view/controller project and all classes from model project were included. But not the referenced library for TopLink JPA.
    My second approach was to create a JAR deployment profile for the model project. Again the referenced library for TopLink JPA was not included.
    My third approach was to add a library file group to the JAR deployment profile. I tried to add the library to jar's root and to META-INF directory. But the application don't find the library (java.lang.NoClassDefFoundError).
    The only way I got this running was adding all referenced libraries from dependent projects to the view/controller project which couldn't be the proper solution.
    So how do I get this running? What are the best practices?
    I would be glad to get some input on these issue. Thank you.
    PS:
    I'm using JDeveloper 10.1.3.2 and like to deploy on Tomcat 5.5.23.

    I see your points.
    Unless you have Java EE 5 there is no real standard way of including libraries in EAR files. Including the libs in the WAR files is the only standard supported way for file formats prior to Java EE 5. If you have to consider Tomcat as a possible platform, WAR files are your only option.
    You reluctance to include the libs in the WEB-INF/libs structure is understandable but think of injected dependencies in the Entities you're not aware of. These might be needed in the view layer too.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Not able pass the data from component to other component.

    Hello All
    I am not able pass the data from component to other component.
    I have done like this.
    1 Main Component (Parent component ) having below  two child components.Embeded as used components.
    2)     Search Component  and Details Component
    3)     In the Search Component having buttons,  Say : Button u201CXu201D on click of button I am navigating to Details component view through FPM.
    4)     When I am clicking above button u201CXu201D raising the event to call the parent   business logic method, there I am getting  Structure with values and binded this structure to the node and Mapped this node to the Details component  interface node. FYI : I kept the debugging point Structure is having data , I had set static attributes table to node instance.
    5)     In the Details component node data is not coming mean empty.
    Thanks in Advance.
    Br-
    CW
    Edited by: CarlinWilliams on Jul 4, 2011 9:21 AM

    Hi,
    When you use input Ext. check that the parent component should not be used as used component in child component.
    Only in the parent component the child components should be used as used components and the usage has to be created for the
    Child Components and the binding of the Node should be done from comp. controller of parent component to child node
    by which you will be able to see double arrow against the node.This should work
    Thanks,
    Shailaja Ainala.

  • Passing Data From One Component To The Node Of An Other Component

    Hi Experts,
        I have a component A (parent) in which i am usuing an other component B (child) . From the parent component i am able to pass data to the child component by using one of the child's interface node but when i try to use one of the parents interface nodes to pass data from the child to the parent component i am unable to pass data as required .
        Please tell me where i am going wrong.
    Thanks In Advance,
    Chaitanya.

    In Component B, check the property of the Interface node Input Element( Ext.) tick it.
    Now, bind the node like the one we do in ALV
    Abhi

  • Loading components 1 by 1 [passing value from 1st component to other]

    Hi all,
    can anyone tell that how to load component one after one.
    In my application I have created components and placed in
    another component. when i load the page each component is loading
    the data Asyncronesly. But i want to load 1st component 1st and
    then set value to other components from 1st component.
    In 1st component i am filling dropdown and setting property
    in that component after setting the property i want to pass that
    value to other components and based on that property i set the
    corresponding data should be populated in ohter component. how can
    i achieve this.
    like in second component i am filling tje datagrid items
    based on selected value from the dropdown in 1st component..
    I just want to pass the property which i set in 1st component
    to other components and load the other components after the 1st
    component is loaded completely with data..
    reply asap
    Girish

    Hi Tracy,
    I am quering / retrieving data from salesforce database using
    AsyncResponder method. In each component i have written login
    method [logging into salesforce db].
    Created all my mxml component separately and drag&dropped
    in another mxml component.

  • Reuse Message Interface from others software component in BPM

    Hi.
    I have created new ccBPM scenario, in the first step always receiver step. so in this receiver i want to use message interface (IM) that already difined in others software component.
    Why i can't see this MI from my Integration Process (IP) ? how to configure so i can see all the MI from others software component ?
    Thank you
    Fernand

    Hi,
    Have u added abstract interfaces in Object area(IP).If u specify in object area u can add those interfaces to step.
    If u want to add other SWCV's interfaces u vave to configure usage dependency.
    look into below links for usage dependency:
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/e95ac0a0302d56e10000000a422035/frameset.htm
    /people/michal.krawczyk2/blog/2005/08/26/xi-are-you-independentfrom-your-dependencies

  • How to pass control from one component to other component

    Hi,
    I have a requirement to pass control from one component to other component.
    Here is my requirement.. l have two portal components, one is search component and other is result component. I have this search component as quick navigation iView where we can enter a value and results will display in results iView, it's a main iView.
    When search view gets the results, I will display the count in search view and result in results view. .i.e.. both the iviews are viewed at any time.
    Can any one advise me how to acheive this.
    Thanks,
    Chinna.

    Hi Sandeep,
    Thanks for the reply. I have gone through the EPCF API, and tried with doNavigate('iViewName').
    when I click on the button in search view (quikc navigation frame), instead of page getting refreshed in result iView, whole page is replaced by results iview. I want only search view and results view gets refreshed.
    can you please tell me which even should I use for this scenario...
    Thanks,
    Chinna

Maybe you are looking for

  • BT Infinity Order Frustration!! Still waiting for ...

    Ok, so I found out I could receive BT Infinity at the beginning of this month. I had line rental with another provider but quickly agreed to change and go for the Infinity Option 2 and Unlimited line rental package which was placed on 3rd January 201

  • Calculation in OBIEE 11G

    Hi, I am working on a calculation in OBIEE 11g. its like : CASE WHEN MEASURE1 = 0 THEN MEASURE2 + MEASURE3 + MEASURE4 ELSE 0 END Results were not coming correct. I analyzed the backend SQL and the problem is it not applying MEASURE1 in GROUP BY. I ha

  • Missing files, user folder, application folder and system folder

    I am using a MacBook Pro 2011 model with OS X 10.9.4. Since I bought the machine several years ago, I have had only a few small problems with it. Yesterday I wanted to reduce the size of a video, so I downloaded a video compressor/converter software,

  • Flash Builder 4.5 the import could not be found

    I just upgraded from Flash Builder 4 to 4.5 and have imported  one of my FB 4 projects.  I am now seeing an orange question mark in  the gutter next to all of my import statements that are importing local  classes (as well as everywhere the said clas

  • Preview fails to open PDF files in Safari

    Can anyone tell me why Preview will not now open PDFfiles inside Safari? I used to have Adobe PDF installed to open all PDF files but I have since removed it in preference to Preview. Preview opens all other PDF files just fine but it seems unable to