Creating reusable components

What is the best way to create a custom component that can be
used by more than one flex application? For example, I've made a
component that I want to be able to use in both a web flex
application, and one the runs on AIR.
Is there a way to add my own controls permanently to Flex
Builder 3 ?

You would create a library (SWC) for this. Then include your
library in the project settings. Otherwise, if you need to tweak
things the general convention is to put your component AS or MXML
files in src/com/yourdomain/yourcomponent.

Similar Messages

  • Creating ReUsable TaskFlows

    hi All,
    I'm using ADF BC, JDev 11G. I need to reuse the task flows built as a part of different applications. I've included the sources by opening the respective projects(model and ViewController). Following the instructions from Packaging a Reusable ADF Component into an ADF Library I was able to create the File System.
    The error is that I'm not able to use that taskflow as a button on the page in a different application. I'm getting error MDS-00013. How to solve this issue.
    Is there a simpler method to create reusable components, task flow etc.
    Stack Trace:
    Root cause of ServletException.
    oracle.adf.controller.ControllerException: ADFC-02001: ADF Controller cannot find '/WEB-INF/task-flow-definition_3.xml'.
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:448)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.loadUnmutalbeMetadataResources(MdsMetadataResourceProvider.java:358)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getResources(MdsMetadataResourceProvider.java:170)
    at oracle.adf.controller.internal.metadata.MetadataService.getTaskFlowDefinition(MetadataService.java:214)
    at oracle.adfinternal.controller.activity.TaskFlowCallActivityLogic.findTaskFlowDefinition(TaskFlowCallActivityLogic.java:931)
    oracle.mds.core.MetadataNotFoundException: MDS-00013: no metadata found for metadata object "/WEB-INF/task-flow-definition_3.xml"
    at oracle.mds.core.MetadataObject.getBaseMO(MetadataObject.java:936)
    at oracle.mds.core.MDSSession.getBaseMO(MDSSession.java:2398)
    at oracle.mds.core.MDSSession.getMetadataObject(MDSSession.java:1042)
    at oracle.mds.core.MOResolver.getMetadataObjects(MOResolver.java:202)
    at oracle.adfinternal.controller.metadata.provider.MdsMetadataResourceProvider.getMetadataObjects(MdsMetadataResourceProvider.java:402)
    Suggestions would be appreciated...
    Thanks in Advance...
    Jyothi

    Hi,
    Once you create a file system connection to the directory where you have deployed your ADF Library, you can expand the library in the Resource palette. You can right click it to add it to an active project in your app. If you have multiple projects, choose one that you wanna add the library to.
    If you have reusable task flows you will find ADF Taskflows node under the jar in the resource palette. Just drag and drop the task flow as a region or a dynamic region in your jspx page. Or if you wanna use it as a task flow call or return, then you can see the jar in the component palette. Just expand the drop down in the component palette, choose the jar. Then drag and drop the task flow.
    BTW if you have a db connection etc packaged in your jar an dif you are reusing them, then the password wont be included. Expand the app resources accordion, choose your connection and enter the password for your db connection.
    Thanks.

  • Create reusable jsf components as jsf components

    Hi
    I'm new to JSF (and J2EE in general, I used to use WebObjects a decade ago). I'm using JSF 1.2
    so, I'd like to know if it is possible to create reusable jsf components designing some jsp page ?
    I'm particularly interressed in reusable components that, when used, are not leafs in the html trees (but so support that the reusing page provide some piece of html to be put "inside")
    Is there any way to do that ? (WebObjects, a decade or so ago, allowed to do that...)
    Thanks for your help
    cd

    Use Facelets instead of JSP. Then you can make use of ui:composition for this.
    By the way, J2EE is dead, it's called Java EE now. This keyword must give you more r|decent Google results.

  • How can I create UI components dynamically based on the result of WebService/HttpService call?

    I would like to create child components of the component
    based on a XML which is retrieved by WebService/HttpService call.
    createChildren() is the one to be used to create components
    dynamically. But if I use createChildren() and call a
    WS/HttpService request in createChildren method, I can not get the
    result of WS/HttpService request in createChildren().
    It seems that the result event is processed later after
    createChildren() is completed.
    How can I implement my requirement?
    I would appreciate any pointer or suggestion.
    Best regards
    Masa

    1) Use a List, with a custom itemRenderer
    2) Use a Repeater (Probably easiest)
    3) use Actionscript to addChild() components.
    Tracy

  • How to create "Business Components Package" in the Jdeveloper ?

    Hi,
    I installed and set up "Patch 7523554 10G Jdeveloper With OA Extension ARU for R12 RUP6"
    I have ran out the test_fwktutorial.jsp and test_fwklabsolutions.jsp.
    All links work properly on these pages.
    I created HelloWorld page from "Oracle Application Framework Toolbox Tutorials".
    Its works properly too.
    Then I started to create "Search Page".
    I created "Business Component project" in the toolbox.jws.
    I was trying to perform step 2.1 "Create the BC4J Package for Client (UI) Objects".
    But I didn't find "Business Components Package" in the context menu.
    Could you give me advice how can I create package of this kind ?
    Thanks.

    I created "OA Workspace" and simultaneously with it created "Business Components Package" <yourname>.oracle.apps.ak.employee.
    After this it i necessary to creates one more "Business Components Package" <yourname>.oracle.apps.ak.schema.server
    I failed to create Package of this kind.
    In the "BC4J Tutorial" It seems to me I found similr actions.
    I suppose I may perform next step:
    Figure 6-3 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABIAIEI
    Figure 6-4 http://download.oracle.com/docs/html/A97671_01/wtgbc4j.htm#BABJIIII
    But I failed to pass these steps.
    Could you tell me, please, how to do this?
    Thanks.

  • Reusable components

    Hi Experts,
    Can anybody provide me some material on Reusable components in SAP/ABAP HR to have better understanding of the concept.
    Gd points will be awarded for the well wishers of mine.
    Regards,
    Rahul

    Hi Anand,
    I would say, that you are not able to open a new window or trigger a navigation
    from the component controller thru a call from anaother component.
    So the descision whether to show the view or to send directly must be done by the
    using component.
    The EMAIL component provides the view which you can embedd in the using component in a new window or just a simple view (ViewContainerUIElement).
    The using component then decides whether it should call the method directly, or navigates to the view which contains the interface view of the EMAIL component.
    Hope this helps,
    Sascha
    Message was edited by:
            Sascha Dingeldey

  • How to Create  Software components , Technical systems , Business Systems

    Hi,
    How to Create  Software components , Technical systems , Business Systems and Logical Systems
    and Link between them. foe different adapters.
    Ponts will be awarded..
    Regards,
    Jayasimha Jangam.

    Steps to create software component,
    1. Goto SLD --> Software catalog
    2.select new product
    3.Fill the Vendor, Name , version and choose create
    4.now go back to the SLD main page and then choose software type as sofware component
    5. select new component and in the next page select your product which you have created in the previous step
    6.then give your vendor, name and version and choose create
    7. now the sofware component is created, you can import the same in you integration repository for your scenario
    Go through the following link which gives you a clear idea about technical, business systems,
    http://help.sap.com/saphelp_nw04s/helpdata/en/24/8fa93e08503614e10000000a114084/frameset.htm

  • Creating Business components

    Hi this purna ,i am new to the JDeveloper .so can you tell me the step by step process of
    creating business components . And also specify which site is full guide to perfect in JDeveloper other than Oracle site

    there is an adf tutorial in oracle website, you can find it.
    also you can try to run bc4j wizard at Jdeveloper.

  • Problems creating software components in SLD

    Hi,
    I am using <b>NW2004s SP06</b>.
    While configuring NWDI, I was defining Product and Software components in the SLD.
    1) I am unable to create products for SAP Systems in the catalog. Whenever I select a new product the message always says new product for non-SAP system.
    2) <b>I am unable to create software components for products for non SAP systems. Whenever I try adding new software components I get an error on the production state</b>
    <b>Value not allowed by VALUEMAP for property SAP_SoftwareComponent.ProductionState:Released</b>
    This is the same error when I choose all the listed Production states: (Eg: Planned, Developed etc)
    Please help

    Forgot to add..
    Application Server-Java (J2EE engine), DI, SLD etc are all on a single machine..

  • How do I create reusable titles in premier elements 13?

    how do I create reusable titles in premier elements 13?

    thomas
    Premiere Elements 13/13.1 Expert workspace
    After you create your title in the Titler, close the Titler.
    The tilte file will have been automatically placed on the Timeline at the position of the Timeline Indicator.
    Open Project Assets, and select the thumbnail for the title file that was placed there also automatically.
    With the Project Assets title thumbnail selected, go to File Menu/Export/Title in order to export your title as a prtl file saved to the computer hard drive for future use. This principle also applied to Title Templates edited in the Titler.
    Please let me know if you are OK with the details. Please ask if you need clarification on the above.
    Thank you.
    ATR

  • Error in creating reusable worklist regions

    Hi,
    I tried to create reusable worklist region for the Task List task flow(taskList-task-flow-definition) in my fusion application using the following reference:
    http://docs.oracle.com/cd/E14571_01/integration.1111/e10224/bp_worklist.htm#BHADHGCF
    I have passed the following parameters to the taskList-task-flow-definition task flow:
    federatedMode=true
    showServerColumn=true
    The wf_client_config.xml is present in the WEB-INF folder and src folder. Its contents are:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <workflowServicesClientConfiguration xmlns="http://xmlns.oracle.com/bpel/services/client" clientType="REMOTE">
    <server default="true" name="default">
    <localClient>
    <participateInClientTransaction>false</participateInClientTransaction>
    </localClient>
    <remoteClient>
    <serverURL>t3://<hostname>:8001</serverURL>
    <initialContextFactory>weblogic.jndi.WLInitialContextFactory</initia
    lContextFactory>
    <participateInClientTransaction>false</participateInClientTransaction>
    </remoteClient>
    <soapClient>
    <rootEndPointURL>http://<hostname>:8001</rootEndPointURL>
    <identityPropagation mode="dynamic" type="saml">
    <policy-references>
    <policy-reference enabled="true" category="security"
    uri="oracle/wss10_saml_token_client_policy"/>
    </policy-references>
    </identityPropagation>
    </soapClient>
    </server>
    </workflowServicesClientConfiguration>
    I have deployed the app to the Weblogic Admin Server. (The SOA Managed Server is present in the same domain). I'm getting the following Error message:
    Error showing tasklist. Possible reasons could be : 1. SOA server connection information is not available. 2. If it is run in federated mode, the default server may be down.
    Any solution to this?
    Thank you,
    Rashmi

    I was able to solve this by creating a bean with a method that returns the WorkflowServicesClientConfigurationType Object.
    Reference: Section A.7 in http://docs.oracle.com/cd/E17904_01/user.1111/e15175/bpmug_ws_taskflows.htm#autoId27
    This works when the JSPX which contains the taskflow binding is a 'Blank Page' and I'm able to see the tasks.
    However, I tried to follow the same steps on a JSPX which uses 'UIShell template' and got a NoClassDefFound error for oracle.bpel.services.workflow.client.config.WorkflowServicesClientConfigurationType
    Any solution to this?
    Thanks.

  • Tutorial about creating java components?

    Is there a good tutorial on how to create java components for stellent?
    I've followed the customization course at oracle's a few weeks ago but it didn't involved any java component. We learned to create components with idoc script and learned everything about resource files.
    I know want to create a java component but i don't know where to start. I read te documentation about "Working with components" but it didn't help me much.

    Nevermind, I got it on FTP.
    ftp://ftp.oracle.com/support/outgoing/Issara_Srun/HowToComponentsBundle.zip

  • Error While Create Business Components From Tables Wizard -- need help asap

    Hi , i have created a view and while create Business Components through wizard for that view i am getting following error.
    ENTITY CREATION FAILED FOR THE FOLLOWING DATABASE OBJECT
    NO PRIMARY KEY ATTRIBUTES AND DOES NOT SUPPORT ROWID . USE ENTITY WIZARD TO CREATE THE ENTITY OBJECT.
    very urgent.
    Regards
    bhanu prakash

    thanks shay .
    Jdeveloper version :: 10.1.3.1.0
    view Syntax is :
    SELECT
    oh.order_number||'- ('||ol.line_number||'-'||ol.shipment_number||')' so_line,
    oh.cust_po_number customer_po,
    ol.flow_status_code status,
    ol.shipping_method_code carrier,
    ol.ordered_item item_no,
    nvl(xxapplication_express_pkg.getcustomerpart(ol.inventory_item_id, hca.cust_account_id), ' ') customer_item_number,
    nvl(mtl.description , 'na') description,
    nvl(org.organization_name , 'oak park') ship_from,
    hcsu.location||' ('||hl.city||' '||hl.state||' '||hl.postal_code||')' ship_to,
    nvl(ol.promise_date, sysdate) promised_date,
    nvl(ol.ordered_quantity, 0) order_quality ,
    xxapps.xx_eg_calculated_onhand(ol.line_id) available_qty,
    nvl(ol.shipped_quantity, 0) shipped_quality ,
    ol.order_quantity_uom uom,
    hp.party_name customer_name,
    jrs.name sales_person_name,
    0 refer
    FROM
    oe_order_headers_all oh,
    oe_order_lines_all ol,
    hz_cust_accounts hca,
    hz_parties hp ,
    hz_cust_site_uses_all hcsu,
    hz_cust_acct_sites_all hcas,
    hz_party_sites hps,
    hz_locations hl,
    org_organization_definitions org ,
    mtl_system_items_b mtl ,
    jtf_rs_salesreps jrs
    WHERE
    oh.header_id = ol.header_id and
    oh.org_id = ol.org_id and
    oh.sold_to_org_id = hca.cust_account_id and
    hca.party_id = hp.party_id and
    hcas.cust_account_id = hca.cust_account_id and
    hcsu.cust_acct_site_id = hcas.cust_acct_site_id and
    hcas.party_site_id = hps.party_site_id and
    hps.location_id = hl.location_id and
    hcsu.site_use_id = oh.ship_to_org_id and
    hcsu.site_use_code = 'SHIP_TO' and
    org.organization_id = ol.ship_from_org_id and
    org.organization_id = mtl.organization_id and
    ol.inventory_item_id = mtl.inventory_item_id and
    ol.ship_from_org_id = mtl.organization_id and
    ol.salesrep_id = jrs.salesrep_id and
    ol.org_id = jrs.org_id
    Regards
    Bhanu Prakash

  • Error: "Variable State has been used outside the reusable components"

    When I open a query in the ad hoc query designer I get several error messages like "Variable State has been used outside the reusable components."  I don't what this means or how to fix it.
    "State" is one of the variables used.  And there is a error for every variable that is used.
    All the variables are in the free characteristics.
    When I open the query in Query Designer, it is ok.
    Any ideas?

    Hi Fong,
    PLease check the following link:
    http://help.sap.com/saphelp_nw04/helpdata/en/1f/03223c5f00612be10000000a11402f/content.htm
    It states that:
    You cannot integrate variables into the query directly.
    However, you can use variables in reusable structures, or restricted or calculate key figures, which are used in the Ad-hoc Query Designer
    Hope this helps...

  • Fireworks or Illustrator for creating web components

    I just want to ask members who use Muse which program they use to create Web Components.  For photos I use Photoshop CC, but I am not sure which program to use for web graphics.  I know both programs have tools for creating web graphic, and that Fireworks is more designed to create web graphic, but which one is better Fireworks or Illustrator.
    I am looking to trying to create some logos and maybe icons for my webpage, and as I am new to these programs I would like so opinion from you the members on which ones your use. 
    I thankyou in advance for reading this post and any opinions you may have regarding this.

    Ultimately I would say photoshop is your best bet. You can do the hard lines, shading and blending for this type of thing fairly easily in photoshop compared to illustrator if you know how. Most web comic artist I know who do their work in color usually use photoshop to produce exactly this type of look. For examples look at Katbox.net/laslindas or 2kinds.com

Maybe you are looking for

  • System will not boot frozen no icons on desktop

    My desktop is frozen will not respond to mouse or keyboard

  • Where is a download link for firefox4?

    I searched Google..cannot find a download link for Firefox 4!

  • All text has come up different today :(

    Just today I have found all text in Firefox has come up super-thin and weird-looking. It's as if the font has changed. It's the same on all websites. Up to yesterday it was quite bold and chunky. This is a massive problem for me as I'm vision-impaire

  • Aggregates having too many partitions

    I have come across a situation where the aggregrates has too many partitions and I cant correct this with RSRV checks. This is the error message in RSRV. "E table of aggregate 100157 has too many partitions" There are many errors of this kind. How ca

  • DVD-R Auto-ejects and not burn

    I am in the middle of a stack of Mitsui DVD-Rs and now the Pioneer 109 will not burn from an Apple or a Toast disc image, and after several seconds auto-ejects all the remaining discs in my stack. DVDs and CDs of any kind can be read and CDRs can be