Relation with parent components view with child component

Hi All,
Can a view controller of  one component can use his child component with the component usage declaration?
Regards
Chandra
Edited by: Chandra Sekhara on Jan 4, 2008 4:26 AM

Ok got it.
Nothing much you have to do.
(1)Go to C1's used component and add C2 as used component.
(2)It will give you two options manual or CreateOnDemand, if you do not need any kind of values to initiate the C2's view then choose 2nd one.
If you need some iteration before initiating the view then use manual option.
you need to write this statement to create the compoment:-
wdThis.wdGet<used component name>ComponentUsage().createComponent();
(3) Now go to the window of C1 and embed interfaceview, when you click on this you will get C2's interface view.
(4) If you want some methods or events to be declared then declare in C2's component controller and copy it to the interface controller.
Now run your application

Similar Messages

  • Master-Child relations with ODP??

    I don't understand why I am having problems trying to build a simple master-child table relation with cascade delete using ODP .NET. With microsoft's providers, in the FILL command, you can specify the relationship in the fill command - Fill(dataset_name,relation_name). But in ODP .NET, it doesn't accept the relation_name as the second parameter, just the datatable. Why is that? are there any good examples out there that show working with Master-Child relations populated with Fill()? Any help would be greatly appreciated.

    bump

  • BlazeDS - n:m relation with eager loading - recursion?

    Hello to all!
    I have a n:m relation and I do eager loading with Hibernate (and other relations with 1:n and n:m, but not displayed here):
    @ManyToMany(fetch=FetchType.EAGER)
        @JoinTable(name = "Group_User",
            joinColumns = {@JoinColumn(name="group_id", referencedColumnName="id")},
            inverseJoinColumns = {@JoinColumn(name="user_id", referencedColumnName="id")}
    @Fetch(FetchMode.SELECT)
    private List<User> users;
    @ManyToMany(mappedBy="users", fetch=FetchType.EAGER)
    @Fetch(FetchMode.SELECT)
    private List<Group> groups;
    So one user can have several groups and in one group can be several users.
    So, but now I get all groups in Flex frontend and so I have also all users included, but the problem is, I get a kind of recursion here.
    Debugging it and take a look at the groups, I see the users listed, and the user have groups, and these groups have users and so on and so on...
    What shoud I do to solve this problem?
    Thanks a lot in advance & Best Regards PHANTOMIAS

    Abe, Any chance you could publish the answer on the newsgroup?
    This was my support response:
    I assume each child object is the same type as its parent? That is, you have a
    class C with a
    member of type Collection<C>?
    In that case, consider what putting this member (let's call it M) in the
    active fetch groups
    does. When loading a C instance, M must be loaded. But if M is full of additional C
    instances, then M must be loaded for all of those instances as well, since M is
    in the active
    fetch groups. And so forth. Thus, eager loading doesn't work very well when the
    relation is
    of the same type as the target object, because it causes a large recursive process.
    SolarMetric has worked to make sure that JDO 2 fetch groups will allow for
    specifications of
    fetch depths and other advanced features. Until then, however, I'm afraid that
    this is a
    limitation of Kodo. I'm not sure how deep into your tree structure you want to
    go, but you
    might consider creating one or more Queries. For example, if you want children and
    grandchildren, create one Query for all grandchildren, and one Query for all
    children.
    Execute both queries. Then going from a grandchild to its parent (I assume
    there is a
    relation from an object to its parent) won't cause any additional DB hits, since
    the children
    (the parents of the grandchildren) will already all be in cache. Similarly,
    going from a child to
    the root object might cause 1 additional DB hit if the root isn't already in
    cache, but going
    from subsequent children to the root will be satisfied from cache. Or if you
    have multiple
    roots, consider executing an additional Query for those roots. So in general,
    you can fetch N
    levels of the tree in N queries, and all relation traversals between those
    levels will then be
    satisfied from cache.

  • Error when creating a Report with Form component

    I am trying to create a new report with form component but when I try to choose the Table/View name I get a web error "404 web not found". I know for a fact that the list is working because I see the list when I create a "simple form". Is this a bug or i need to do something to get it working? thanks

    419008,
    It is a bug that has been identified and will be corrected in an HTML DB patch. There is nothing you can do to correct it.
    This bug is specific to Internet Explorer and utf-8 encoding. It is not a bug with IE, it is a bug with how we handle this for IE.
    Joel

  • Hierarchial Structure with Child Parameter

    I have a query like this
    select child
    from t
    START WITH parent = 'DIV'
    CONNECT BY PRIOR child= parent
    when i give some parent value its fetching the entire structure from DIV parent.
    i need to restric the rows to some specific leaf. i.e i need a additional parameter called child where i will child value so that it have return only the row from that parent to given child.I dont need other trees.
    For eg DIV is parent for A, B ,C
    A is parent for D,E
    B is parent of F,G,H
    C has no child.
    If i give parameter DIV is parent and G has child i need only this hierarchy. this should return only two rows
    A and G
    Please let me know if i am not clear..
    Pls Help
    VInoth.

    Maybe combining the two hierarchies:
    SQL> with t as (
      2  select 'A' child, 'DIV' parent from dual union all
      3  select 'B' child, 'DIV' parent from dual union all
      4  select 'C' child, 'DIV' parent from dual union all
      5  select 'D' child, 'A' parent from dual union all
      6  select 'E' child, 'A' parent from dual union all
      7  select 'F' child, 'B' parent from dual union all
      8  select 'G' child, 'B' parent from dual union all
      9  select 'H' child, 'B' parent from dual
    10  )
    11  select t1.child, t2.lev
    12  from (select child from t CONNECT BY prior parent=child start with child='G') t1,
    13  (select child, level lev from t CONNECT BY prior child=parent start with parent='DIV') t2
    14  where t1.child=t2.child;
    CHILD                       LEV
    B                             1
    G                             2you can add a condition on LEV that is the level in the top-down hierarchy...
    But I think this could be slow...
    Max

  • How to scale the content along with child elements?

    By default I need my application size to be compatible with 1280x800 resolution; and if the application is viewed at a bigger resolution, only the background needs to be stretched, therefore I have to hardcode canvas size and set background in percentage. Till now it is alright, but when the application is viewed at a smaller resolution or with window size scaled down, the application content should also scale along.
    So, any clues on scaling down the content [along with child contents]? mind you, it has background images so must be scaled with proper aspect ratio.
    Thanks for any help.
    Siraj Khan
    [email protected]

    Thank you for the tip... this solves my problem partially. Now I am working on to scale the inner content of canvas --- on resize. Since there are elements like buttons and images, i can not define them in percentage, so i need to first check what exactly is the percentage of reduced canvas, and then accordingly i'll have to apply that percent on the inner elements. Any other better idea? as i see this only as a work around, not a proper solution.
    Anyway thanks again for the help.
    -Siraj

  • SAP PP-What is BAPI & how it relates with PP-module

    What is BAPI & how it relates with PP-module

    hi
    SAP has introduced object-oriented technology by making SAP processes and data available in the form of SAP business objects.
    External applications can access SAP business objects through standardized, platform-independent interfaces - die Business Application Programming Interfaces (BAPIs). The SAP Business Objects and their BAPIs provide an open, object-oriented view of the business processes and data in an SAP System.
    This guide provides an overview of the SAP business objects, SAP interface types, and their BAPIs as well as the Business Object Repository where business objects and BAPIs are defined and stored.
    go with this link
    http://help.sap.com/saphelp_47x200/helpdata/en/7e/5e114a4a1611d1894c0000e829fbbd/frameset.htm
    -ashok

  • Hello Gurus..... ISSUE with child Table update

    I have an issue with child table update
    I have created a GTC with one parent table and two child tables. I'm able to update the parent table and the values are found in db, but the ISSUE is the child Table values are not updating the db.
    please give me a solution
    regards
    Srikanth

    If you are keeping referential integrity in the database, not in the application, it is easy to find the child and parent tables. Here is a quick and dirty query. You can join this to dba_cons_columns to find out on which columns the referential constraints are defined. This lists all child-parent table including SYS and SYSTEM users. You can run this for specific users of course.
    select cons1.owner child_owner,cons1.table_name child_table,
    cons2.owner parent_owner,cons2.table_name parent_table
    from dba_constraints cons1,dba_constraints cons2
    where cons1.constraint_type='R'
    and cons1.r_constraint_name=cons2.constraint_name;

  • Authorization related with warehouses

    Hi experts,
    I want to make authorization related with warehouses. Only particular users can do material transfer (by MIGO - movement type 311) in a paticular warehouse. How can I do?

    You'd have to use the authorization object M_MSEG_LGO.
    You'd have to make the following ACTVT=XX;WERKS=PLNT; LGORT=SLOC; BWART=311;
    PLNT is your plant
    SLOC is the storage location.
    XX = 03 (display only) or
    Use SU21 to view the object (use find button) and double click to display documenation (or) ask your BASIS administrator.
    Before you can implement the authorization object you need to activate authorization check at storage location level in transaction S_ALR_87000261 else M_MSEG_LGO won't work. You also need to understand the consequence of this is that it will hog the system performance which is why authorization check is inactive by default.
    Edited by: Jeevan Sagar on Jan 18, 2012 12:53 PM

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder which does not have firewire out/input? it comes only with a component video output, USB, HDMI and composite RCA output?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How to connect Apple TV (2g) HDMI to HDTV with only component video input.

    Trying to connect Apple TV (2g) HDMI to HDTV with only component video input.  Can I use a simple cable or do I need a converter box/plug? Is the HDMI signal coming from ATV encrypted or HDCP enabled?
    The TV is HD, but only has a component input and not HDMI.  Apple TV 2g only has HDMI output.

    google component hdmi converter
    but they are pretty expensive and may not work at all
    and will not work with any DRM material as in movies you reant and maybe netflix and the sports thingy

  • Sub-contracting with chargeable component.

    Hi All,
    I am doing following scenario
    Scenario: Sub-contracting with chargeable component.
    Activity: Clearing (Consumption-Based)
    T Code - /n/SAPNEA/JSCR19
    Amount: 23,100,000
    While action posting, we are getting following error message
    Error Message: E The difference is too large for processing
    Kindly suggest where to do necessary changes in the system.
    Rahul

    Hi,
    This procedure provides the way of manual payment for Subcontract expense.
    I want to clear Accrued revenue by deduction AP using T code /n/SAPNEA/JSCR19
    While posting, I am getting error message “Amount too large to clear", maybe the system set the limit for the tolerance value for clear document. Please suggest me, where to change the settings.
    Rahul

  • Will the new 10.6.8 update fix SATA3 issues related with 2011 MacBook Pros?

    Will the new 10.6.8 update fix SATA3 issues related with 2011 MacBook Pros?

    It is against TOU to speculate on these message board.  Suggest you post your question on the Mac Rumors site.
    As I already stated, there is no 10.6.8 update.  If there was, it would be listed in Software Update.

  • Table Relation with Payment and Invoice of Vendor

    Hi all,
         I have one question about Table Relation with Payment and Invoice of Vendor.
         the scenario is.
         2 Purchase Order number : 100000001/100000002
         1 Invoice document number : 200000001 which include  2 Purchase Order.
         1 Payment document number : 300000001
         How should I found out table relation from Payment document number - Invoice document number - Purchase Order number. ?
          I try to link the following table, but it does not work.
          RBKP     *     Invoice Receipt
          RSEG     *     Invoice Receipt document line item
          BKPF     *     Accounting Document Header
    BSEG     *     Accounting Document Segment
    PAYR          Payment Medium File
    BSIK          Accounting: Secondary Index for Vendors
    BSAK          Accounting: Secondary Index for Vendors (Cleared Items)
    BSIS          Accounting: Secondary Index for G/L Accounts (Open Items)
    Does any one know about it ?
    Regards
    KY Chuang

    Hi Venkatesh,
    Thnx a lot for the reply. This has almost solved my problem, however there's one thing left. when I'm trying to take a print out after exporting the info into an excel sheet, the information really looks scattered, i.e.,  is there a way where we can go ahead and get the info in a rather unscattered manner.
    I've tried to take a print directly without actually transferring the info into an excel sheet, then each of the vendor is printed in a separate page, which again they feel is a problem.
    So, if you have an idea pls suggest.
    Thnx again for the information.
    regards
    sandhya

  • SM Portal display issue while creating incident classification with child items

    Hii,,
    We need to create some incident classification with child items. After creating classification with child items, portal is not showing the classification properly and the page display not showing properly. i.e. showing a block with drop down instead of simple
    drop down as same as for urgency. Please find the snapshot and suggest..
    Regards, Syed Fahad Ali

    The portal flattens those lists, so sadly this is normal behaviour. I would assume it sorts the list according to ordinal which means you may be able to atleast get a list in the correct order. 
    ex. Ordinal in paranthesis
    1. Hardware (1)
    1.1 Printers (3)
    2. Software (2)
    2.1 Windows (4)
    I would expect this list to be flattened into
    Hardware
    Software
    Printers
    Windows
    You see? In order to edit ordinal you would have to edit the list manually in XML. Tons of ressources on how to do that. 
    Cheers,
    Anders Spælling
    Senior Consultant
    Blog:  
    Twitter:   LinkedIn:
    Please remember to 'Propose as answer' if you find a reply helpful

Maybe you are looking for

  • Populating the test data in table of IDES ECC 5.0 in Oracle

    Hi Guys, I have installed IDES ECC 5.0 successfully without any errors. But I don't see the data in tables like PA0001 etc. Can some body give me the steps for populating the tables with test data. I was able to sign on using DDIC in client 000. Than

  • Five minutes later"this song can no longer be made into a ringtone"

    I downloaded a song that had the bell next to it. Five minutes later, it's downloaded, and I click the bell icon to make my ringtone. A box popped up that said "this song cannot be made into a ringtone- this song can no longer be made into a ringtone

  • File to jdbc

    using the Xslt mapping how the sql query is generated. I have used all the required fields. Thanks, srini

  • Which activity reports keep track of user in sap ep

    HI ALL which activity reports keep track of user who logged in a day  in Enterprise Portal. I dont want active user only. i want recently visited active users in a 1 day. Edited by: johnright on Mar 7, 2011 12:27 PM

  • HibernateTemplate: saving unicode in MSSQL

    Hi, I'm trying to save an object using the HibernateTemplate (http://www.springframework.org/docs/api/org/springframework/orm/hibernate/HibernateTemplate.html). The String members have russian characters. When I copy paste the data manually into the