Portal Eventing Parent-Child Explorer window

Hi experts,
I have a problem using the portal eventing.
A WebDynpro Abap application, embedded into the EP, opens a new browser window. I want to fire an event in the new browser window and handle it in the first one. So far so good. This works fine.
However if I want to close the new browser window in the same server round trip I fire the Portal Event, the event handler in the first window is not called. My question is: Is it possible to handle a portal event from a child browser window which closes itself in the server round trip, when the event is fired?
Thanks,
Thomas

Does sound like the child window is not propagating the portal event when it is also closing...
I'd suggest a work around (as I have no idea why that behaviour is occurring) perhaps firing the update event and also listening for it yourself? and then closing once the event has been received? If the child component receives the portal event, you'd assume that the parent would also.
Alternatively set a timed trigger after you fire the event - it shouldn't trigger until a screen refresh is done (which you'd hope would mean that the portal event was successfully fired) and close your window on the event fired by this UI element.
Do let us know if you find any other way around the problem!
Cheers,
Chris

Similar Messages

  • Wrong File(parent, child) behaviour on Windows when child starts with one s

    I've sent following problem report:
    A DESCRIPTION OF THE PROBLEM :
    On Windows when relative path starts from one slash it should be resolved from current disk (not current directory). This behaviour should be preserved for Files constructed with constructor File(parent, child). So results of run "System.out.println(new File(dir, relPath).getAbsolutePath())" and "System.out.println(new File(relPath).getAbsolutePath())" should be identical when running program from directory "dir".
    STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
    Compile and run from directory C:\temp\relpath following code:
    import java.io.*;
    public class Main {
         public static void main(String[] args) throws Exception {
              System.out.println(new File("C:\\temp\\relpath", "\\temp\\relpath\\Main.java").getAbsolutePath());
              System.out.println(new File("\\temp\\relpath\\Main.java").getAbsolutePath());
    EXPECTED VERSUS ACTUAL BEHAVIOR :
    EXPECTED -
    C:\temp\relpath>java Main
    C:\temp\relpath\\Main.java
    C:\temp\relpath\Main.java
    ACTUAL -
    C:\temp\relpath>java Main
    C:\temp\relpath\temp\relpath\Main.java
    C:\temp\relpath\Main.java
    The answer was:
    I have been analyzing your problem and it is not a bug but the intended behavior of the API.
    The File(File,String) constructor includes this in the specification:
    "If the |child| pathname string is absolute then it is converted into a relative pathname in a system-dependent way."
    In the example provided here, the child path is absolute so it is converted into a relative path. This is the intended behavior.
    My comments:
    First, child pathname is not absolute. Even so, I don't understand why this guy contend that this behavior is correct.
    Please comment this!

    Please comment this!
    I've sent following problem report:
    A DESCRIPTION OF THE PROBLEM :
    On Windows when relative path starts from one slash
    it should be resolved from current disk (not current
    directory). This behaviour should be preserved for
    Files constructed with constructor File(parent,
    child). So results of run "System.out.println(new
    File(dir, relPath).getAbsolutePath())" and
    "System.out.println(new
    File(relPath).getAbsolutePath())" should be identical
    when running program from directory "dir".
    STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
    Compile and run from directory C:\temp\relpath
    following code:
    import java.io.*;
    public class Main {
    public static void main(String[] args) throws
    s Exception {
    System.out.println(new File("C:\\temp\\relpath",
    ", "\\temp\\relpath\\Main.java").getAbsolutePath());
    System.out.println(new
    ew
    File("\\temp\\relpath\\Main.java").getAbsolutePath());
    EXPECTED VERSUS ACTUAL BEHAVIOR :
    EXPECTED -
    C:\temp\relpath>java Main
    C:\temp\relpath\\Main.java
    C:\temp\relpath\Main.java
    ACTUAL -
    C:\temp\relpath>java Main
    C:\temp\relpath\temp\relpath\Main.java
    C:\temp\relpath\Main.java
    The answer was:
    I have been analyzing your problem and it is not a
    bug but the intended behavior of the API.
    The File(File,String) constructor includes this in
    the specification:
    "If the |child| pathname string is absolute then it
    is converted into a relative pathname in a
    system-dependent way."
    In the example provided here, the child path is
    absolute so it is converted into a relative path.
    This is the intended behavior.
    My comments:
    First, child pathname is not absolute. Even so, I
    don't understand why this guy contend that this
    behavior is correct.
    */

  • Parent / Child Groups in Portal with LDAP

    Heya,
    we are using EP 7 on SP 10 (NW 7), for User Authentication we use the UME with a configured (writable) LDAP
    Server as backend with a flat hierarchie. We have a Federated Portal Landscape with
    3 Portals connected to one "main" portal and using Remote Role Assignement on the main portal for
    our right managenemt.
    Remote Roles which are added to Groups are working fine, but as soon as we try to use
    the parent/child group functionality we are facing the problem that the user who logs on
    has no access to anything in this group.
    According to http://help.sap.com/saphelp_nw04s/helpdata/en/af/0cfc3f09c2c442e10000000a1550b0/frameset.htm
    the only restriction for the use of child / parent groups is that:
    "If user management is set up with write access to an LDAP directory, the following restriction applies:
    When assigning members to a group that is stored in the LDAP directory, you can only assign users or
    groups that are also stored in the LDAP directory. You cannot assign users or groups from the database
    to groups from the LDAP directory. "
    We fullfill the above condition (everything is LDAP based) - sooo: Any Hints for me / Someone facing
    the same problem.
    Thanks,
    Marco

    Hi Murali,
    User Configuration
    A particular company has the following setup:
    ●      Two roles: External and Internal
    ●      The role Internal contains users who also belong to two user groups: N.America and Asia
    ●      User A belongs to both the role Internal and the user group N.America
    ●      User B belongs to both the role Internal and the user group Asia
    ●      User C belongs to the role External
    Conditions Defined in Portal Display Rules
    1. If Group = N.America
       Then Portal Desktop = Orange Flavor
    2. If Role = Internal
       Then Portal Desktop = Green Flavor
    3. If Group = Asia
       Then Portal Desktop = Blue Flavor
    4. If Role = External
       Then Portal Desktop = Red Flavor
    Note that user A matches conditions 1 and 2; (ii) user B matches conditions 2 and 3; and (iii) user C matches condition 4.
    Results
    According to the list of priorities, these are the results:
    ●      User A receives portal desktop "Orange Flavor" (according to condition 1 which has priority over rule 2)
    ●      User B receives portal desktop "Green Flavor" (according to condition 2 which has priority over rule 3)
    ●      User C receives portal desktop "Red Flavor" (according to condition 4)
    still any help on portal disktop rules to can see this link http://help.sap.com/saphelp_nw70/helpdata/EN/4b/29cf122f414721964269e1b675d62c/frameset.htm
    if helpful don't to give points
    thanks
    best regards
    ep

  • Event logging in Parent-Child packages

    Hello,
    I have a set of Parent-Child SSIS packages. A Parent package invokes a bunch of child packages via "Execute Package Tasks".
    I have set up custom event logging (to a SQL table) inside both Parent and Child Packages' Event Handlers (OnPreExecute, OnPostExecute, OnError).
    I noticed that when a Child Package raises an event, both the Child Package's event handler and the Parent Package's event handler get fired, thereby creating duplicate event logging entries.
    So, as a quick work around, I disabled event handlers in Child packages hoping that the Parent Package's event handlers will catch and log all events nicely. However, when the Parent Package's event handler writes event details to the table, it uses the
    Parent Package's System::PackageId, System::PackageGUID and System::PackageName rather than that of the Child Package that originally raised the event!. So, my event log table records all events as if they were raised by the Parent Package!
    Is it possible to disbale event bubbling up from Child Packages to the Parent package?
    What options do I have to fix this problem?
    Thanks

    I came across this same issue and found a pretty nice workaround.
    In brief, I used a Stored Procedure to write the OnError to a Logging table. So when this stored procedure was called I checked if the error was already in the logging table, and if it was then no record would be inserted.
    I was already using the logging method 2 detailed here with a few changes.
    To the PackageLog table I added a ParemtExecutionID value, which was passed into the child package through a Parent Variable Configuration. So for the OnPreExecute handler, the Parent Package passed NULL for the ParemtExecutionID, but the Child Package passed
    in the Variable.
    In the ErrorLog table I added a SourceID column, which is the GUID of the task that generated the error. In the Parent/Child Package configuration, the SourceID is the same in both OnError handlers.
    So then when the Parent OnError handler calls the stored procedure, it checks if an ErrorLog record exists for the ParentExecutionID and SourceID combination.
    Below is the OnError Stored Procedure I used. (Note: In my example only the Child Package has a Queue ID value.)
    Create Procedure [dbo].[usp_Integration_Log_Error] (
    @Execution_Id UNIQUEIDENTIFIER,
    @Queue_Id INTEGER = NULL,
    @Source_Name VARCHAR(255),
    @Source_Id UNIQUEIDENTIFIER,
    @Err_Code INTEGER,
    @Err_Message NVARCHAR(MAX)
    AS
    BEGIN
    DECLARE @ErrorCount INTEGER
    IF @Queue_Id IS NULL
    SELECT
    @ErrorCount = Count(*)
    FROM
    INTEGRATION_ERROR IE
    INNER JOIN
    INTEGRATION_LOG IL ON IE.EXECUTION_ID = IL.EXECUTION_ID
    WHERE
    IL.PARENT_EXECUTION_ID = @Execution_Id AND
    IE.SOURCE_ID = @Source_Id
    IF ISNULL(@ErrorCount,0) = 0
    INSERT INTO
    INTEGRATION_ERROR (
    EXECUTION_ID,
    QUEUE_ID,
    SOURCE_NAME,
    SOURCE_ID,
    ERR_CODE,
    ERR_MESSAGE
    VALUES (
    @Execution_Id,
    @Queue_Id,
    @Source_Name,
    @Source_Id,
    @Err_Code,
    @Err_Message
    END

  • ADF: Parent Child Window Popup

    Hi All,
    I am having a requirement in which, I am trying to create Parent Child window in ADF. I will give some information in the Parent form and there will be a button which will popup a child window and I will enter some information in a child window and submit, it should come to parent page without displaying the details entered in the child window and once I click the submit button in the Parent window, both the Parent and Child window Detaiils should get saved to the database. I am trying to use ADF or ADF BC.
    Please provide me the steps that need to be followed.
    Thanks.

    This is a common use case. You question on the other hand shows that you not really tried the figure our the answers yourself.
    It's too much you ask us to do your work.
    First you should think which technology (swing or faces) you want to use. Then you should read up some of the documents (i.e. the Fusion Order Demo, or any other sample or cue card) to get some knowledge of the framework.
    I you have a problem then, come back and mention the jdev Version you are using.
    Timo

  • File Explorer window in tree control

    Hi all,
    I am trying to get the feel of windows file explorer in a tree control. I was successful somewhat in listing the files, but I was unable to make the parent-child relation correctly. I have attached one jpg file of file explorer. I would like to replicate the same in a tree control.
    I used recursive file list function during my trial.
    Please suggest a good option. (I have seen the NI example, but its too slow and I would like to make it simple string based application(not realtime folderlisting)).
    Message Edited by Parag D on 12-15-2009 03:54 PM
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"
    Attachments:
    tree.JPG ‏13 KB

    Asi told you.. if you dont have a very good algorithm to do it , it gets complicated depending up on the depth of the path.
    here are some example that may help you out
    Guru
    Regards
    Guru (CLA)
    Attachments:
    TraverseTreeSetCustomSymbols.zip ‏97 KB
    Tree_Control_VIs.zip ‏437 KB

  • Re: Circular Parent-Child relationship amongwidgets.

    Alaiah,
    Setting the parent to NIL is the proper thing to do to remove
    a widget from a panel. Why don't you try just setting it
    to NIL and not adding the new chart to the window to make
    sure that it gets removed. If that doesn't work, maybe
    Window.UpdateDisplay, but you shouldn't have to do that.
    As far as the parent-child relationship issue, when you set
    the widget's Parent to NIL, that is actually invoking a virtual
    attribute that does more than just NIL out the reference. One
    of the things that happens is that the child is removed from
    the parent's Children array. Do a task.lgr.putline(<parent>.Children.Items)
    to see how many items are in the array, then do the NIL, then
    do a second putline and you'll see the array has one less item.
    Bobby
    At 06:10 PM 12/19/96 PST, Chandrashekar, Alaiah wrote:
    >
    I am trying to draw a Bar Graph on a panel which in turn sits on the main
    window. The height policy of the panel widget is set to SP_TO_PARENT so that
    when the window is resized the panel is also resized according to the parent
    window. I have a situation that every time the panel is resized I need to
    scale the Bar Graph in accordance with the new panel size and draw it. But
    before drawing the newly scaled Bar Graph I am clearing out all the children
    of the panel ( I am doing this just to refresh the panel) and then drawing
    the newly scaled Bar Graph. But this does not work!!! I still find some
    left over from the previous Bar Graph!!! Any help in this matter is greatly
    appreciated.
    Also I don't understand this circular parent-child relationship. If I assign
    a NIL to Parent attribute of all the children of the panel, what will happen
    to the Children attribute of the panel? Won't there be any memory leak by
    adopting the above procedure of disconnecting a child from its parent? If
    so, how do we take care of it?
    Thanks in advance!
    Alaiah Chandrashekar
    The following is the segment of the code which could be useful for clarity:
    // Draws the Bar Graph for the first time.
    self.ShowChart(TestData);
    self.Open();
    event loop
    when task.Shutdown do
    exit;
    // When the window is resized
    // I am scaling the Bar Graph for the new
    // panel size.
    when self.window.AfterReSize do
    self.ClearChartPanel();
    // self.window.UpdateDisplay();
    self.ShowChart(TestData);
    end event;
    self.Close();
    Method ClearChartPanel is as follows:
    for child in self.<ChartPanel>.Children do
    child.Parent = NIL;
    end for;

    Alaiah,
    Setting the parent to NIL is the proper thing to do to remove
    a widget from a panel. Why don't you try just setting it
    to NIL and not adding the new chart to the window to make
    sure that it gets removed. If that doesn't work, maybe
    Window.UpdateDisplay, but you shouldn't have to do that.
    As far as the parent-child relationship issue, when you set
    the widget's Parent to NIL, that is actually invoking a virtual
    attribute that does more than just NIL out the reference. One
    of the things that happens is that the child is removed from
    the parent's Children array. Do a task.lgr.putline(<parent>.Children.Items)
    to see how many items are in the array, then do the NIL, then
    do a second putline and you'll see the array has one less item.
    Bobby
    At 06:10 PM 12/19/96 PST, Chandrashekar, Alaiah wrote:
    >
    I am trying to draw a Bar Graph on a panel which in turn sits on the main
    window. The height policy of the panel widget is set to SP_TO_PARENT so that
    when the window is resized the panel is also resized according to the parent
    window. I have a situation that every time the panel is resized I need to
    scale the Bar Graph in accordance with the new panel size and draw it. But
    before drawing the newly scaled Bar Graph I am clearing out all the children
    of the panel ( I am doing this just to refresh the panel) and then drawing
    the newly scaled Bar Graph. But this does not work!!! I still find some
    left over from the previous Bar Graph!!! Any help in this matter is greatly
    appreciated.
    Also I don't understand this circular parent-child relationship. If I assign
    a NIL to Parent attribute of all the children of the panel, what will happen
    to the Children attribute of the panel? Won't there be any memory leak by
    adopting the above procedure of disconnecting a child from its parent? If
    so, how do we take care of it?
    Thanks in advance!
    Alaiah Chandrashekar
    The following is the segment of the code which could be useful for clarity:
    // Draws the Bar Graph for the first time.
    self.ShowChart(TestData);
    self.Open();
    event loop
    when task.Shutdown do
    exit;
    // When the window is resized
    // I am scaling the Bar Graph for the new
    // panel size.
    when self.window.AfterReSize do
    self.ClearChartPanel();
    // self.window.UpdateDisplay();
    self.ShowChart(TestData);
    end event;
    self.Close();
    Method ClearChartPanel is as follows:
    for child in self.<ChartPanel>.Children do
    child.Parent = NIL;
    end for;

  • Circular Parent-Child relationship among widgets.

    I am trying to draw a Bar Graph on a panel which in turn sits on the main
    window. The height policy of the panel widget is set to SP_TO_PARENT so that
    when the window is resized the panel is also resized according to the parent
    window. I have a situation that every time the panel is resized I need to
    scale the Bar Graph in accordance with the new panel size and draw it. But
    before drawing the newly scaled Bar Graph I am clearing out all the children
    of the panel ( I am doing this just to refresh the panel) and then drawing
    the newly scaled Bar Graph. But this does not work!!! I still find some
    left over from the previous Bar Graph!!! Any help in this matter is greatly
    appreciated.
    Also I don't understand this circular parent-child relationship. If I assign
    a NIL to Parent attribute of all the children of the panel, what will happen
    to the Children attribute of the panel? Won't there be any memory leak by
    adopting the above procedure of disconnecting a child from its parent? If
    so, how do we take care of it?
    Thanks in advance!
    Alaiah Chandrashekar
    The following is the segment of the code which could be useful for clarity:
    // Draws the Bar Graph for the first time.
    self.ShowChart(TestData);
    self.Open();
    event loop
    when task.Shutdown do
    exit;
    // When the window is resized
    // I am scaling the Bar Graph for the new
    // panel size.
    when self.window.AfterReSize do
    self.ClearChartPanel();
    // self.window.UpdateDisplay();
    self.ShowChart(TestData);
    end event;
    self.Close();
    Method ClearChartPanel is as follows:
    for child in self.<ChartPanel>.Children do
    child.Parent = NIL;
    end for;

    Hello Evandro,
    I am listing the steps to create a relationship manually.
    1. Create 2 records in the relationship table in console, one for "Married to" and the other one for "Owner". In order to do that the repository needs to be unloaded.
    2. Once you create these 2 records in the table through console, load the repository.
    3. Log on to the Data Manager.
    4. Now as per your example, there are 3 records in the main table, namely
         JOHN
         MARY
         ACME
    5. Select only one record in the record list area e.g. JOHN (where you see the list of records)
    6. Then, in the record edit area, double click on the relationship tab,
    7. New Window opens up.
    8. HERE ALL THE OPTIONS ARE GRAYED OUT. But Select the relationship which you want to create, in our case married to.
    9. Now select the record MARY in the record list area. (NOT in the pop window, but main window).
    10. Then on the top bar menu, select Relationships --> Adds to Group.
    11. Now close the Pop window and observe that the relationship has been created between JOHN and MARY.
    Let me know if it worked for you. if not, post some more information about your problem such as where you tried to configure and what options were grayed out.
    Please update.
    Thanks
    Shai
    I need to do a relationship among the BP where each record in Main Table correspond a BP (Person or Organization).
    The relationship should link the BPs as shown below:
    Records
    1; John
    2; Mary
    3; ACME
    In record 1, I need to say that John is married with Mary, where Married is a type of the relationship and that Mary is Owner of the ACME, where u201COwneru201D is other relationship type.
    I have tried to configure a Relationship (where the parent and child tables were the Main Table) in MDM, but I couldnu2019t to do it because the screen for this feature was locked. I need to be certified that the child link exist in the repository.
    Thank you.
    Evandro.

  • Photoshop CS4 Crashes When Deleting In Explorer Window

    I'm running Windows 7 with gigs of hard drive space and 9 gigs of fast RAM. Whenever I open a file in Photoshop CS4 Extended (v.11.0.1) the "Open" file explorer window pops up and I then navigate to any image folder. If I'm in this window and see any file I don't need any longer and try to delete it PS crashes. I get the "Photoshop no longer responding" error and it shuts down. Other times it happens while I'm working on a file, sometimes when applying filters. The following error always shows up in the Event Viewer:
    Faulting application name: Photoshop.exe, version: 11.0.1.0, time stamp: 0x499bf9b5
    Faulting module name: QTCF.dll_unloaded, version: 0.0.0.0, time stamp: 0x4aa21f2c
    Exception code: 0xc0000005
    Fault offset: 0x67cec11b
    Faulting process id: 0x1fec
    Faulting application start time: 0x01ca793f11f8305d
    Faulting application path: C:\Program Files (x86)\Adobe\Adobe Photoshop CS4\Photoshop.exe
    Faulting module path: QTCF.dll
    Report Id: 92ee343e-e532-11de-8888-0024e81c8cb0
    I've looked everywhere for an answer and Google doesn't have anything. I did try the following as suggested on other forums for similar crashes:
    Repaired/replaced the QTCF.dll file (Apple QuickTime DLL)
    Ensured fonts aren't corrupt
    Ran diagnostics on RAM, HD and system incl. registry - All OK
    Ensured scratch disks were local and correct
    Deleted PST temp files
    Tried starting PS without preferences
    Reduced/Increased memory allocation
    Installed latest video drivers from ATI
    Reinstalled PS CS4
    Any idea what is going on? This is seriously affected my workflow and I can't seem to find anyone with a similar issue. Any help would be greatly appreciated!
    Thanks,
    Jim

    According to a few google searches the dll has to do with either itunes or quick time. The quick time fix was to go to control panel, programs, click on quick time then repair. If you have itunes install do the same but there might not be a repair option when you highlite.
    Go to the adobe website to see if there is a quick time viewer for Windows 7 64 bit.
    http://www.apple.com/quicktime/download/
    I don't have itunes or Quicktime installed on either computer. I can't remember if the CS4 Extended disk install quicktime. All I installed off the Disk was CS4 Extended and Bridge.

  • Parent-Child hierarchy based on two-column key

    Hello
    Is it possible to create a parent-child hierarchy, if the primary key of the table consists of two columns?
    My table looks like:
    TRACE_ID | DIAG_ID | SUPER_DIAG_ID
    with TRACE_ID and DIAG_ID as PK.
    If I define only DIAG_ID as PK, I can add a logical dimension (PC-hierarchy) without problems.
    However when I also add TRACE_ID to my PK, I cannot select a member key in the new logical dimension window and therefore not create a logical dimension.
    Is this a limitation of OBIEE and I have to merge the two colums (which would be rather bad, as there are FK relations to DIAG_ID) or is there a solution?
    Regards
    Matthias

    Dear Gowtham  ,
    I am very well aware of the level based hierarchy available in BO .
    The issue that i have raised is all about the Parent Child Hierarchy which creates the recursive query.
    I.e Every Parent has a child and that child can be parent of some other . (See the original example for more illustration)

  • Form acting as child in parent child reference

    Hi guys,
    I have a custom fields form.
    This form basically uses other forms in our systems information as a parent-child relationship.
    It uses FORM NAME and ID from that form name to query custom fields form i.e.
    If you go into for example a customer form, then the custom form needs to trigger that you have gone into this form, and pass to custom the form name and the primay key thats queried.
    Also if you navigate away to another form (not closing it) and navigate back it should also trigger the execute query in this other form, is this possible?
    Basically we have 500 forms and a requirement has come in to add custom fields to all these forms so createing one form that contains the custom fields and having a triggr mechanism to execute query on this was the cleanest way i could attempt to achieve this, i do not want to amend 500 forms!
    Thanks

    Hai,
    For this create global variables to store the FORM_NAME and ID, and assign to those global variables on each master forms WHEN-WINDOW-ACTIVATED Trigger. And in the WHEN-WINDOW-ACTIVATED Trigger of the child form, query the details using those global variables. and use insert into or update statements to update.
    Regards,
    Manu.

  • Xcelsius Parent/Child SWF Loader with BICS Connections

    We have several Xcelsius Dashboards that use BICS connections to retrieve data from BW queries that we'd like to combine into one Parent/Child tabbed dashboard. I can't seem to find solid information on if this is possible using a SWF Loader component due to the BICS requirement of being published through BW Portal and not InfoView. Does anyone have any ideas (short of combining them into one huge dashboard due to the volume of data)? Thanks!

    Hi Chris,
    I have been working with SWF loader on the SAP portal using the BICS connection type. It was not supported last time I asked about a year ago. However, it can work if you specify the URL in the SWF loader in this way:
    http://sapwebdisp.vestas.net:8103/bicsremotebex?SWF=XXX&TIMESTMP=1318867468000
    XXX is the name you publish your child dashboard under. Data can be exchanged between the parent and child dashboard by using the custom component "Data sharer" from Inovista which can be downloaded for free:
    http://www.inovista.com
    Besides the fact that this setup is unsupported there are some limitations so from my point of view it should only be applied under the following conditions:
    1. It is not possible to build eveything into a single dashboard.
    2. A solution having several independent dashboards does not make sense.
    An alternative might be the setup described in note 1526291. The way I understand it, it binds the dashboards together in a similar way as on a BO server with flash variables.
    Regards,
    Michael

  • Parent child vi - bugs

    hello,
                   please find this attachment. there you can find main. vi. run this main.vi then press the child vi button, one graph will be opened as a child window. you can move this vi on with in the main window.
    my problem is when click on the child vi its little bit moving down direction. how to solve this...? this problem happend when i each click on the vi using mouse.
    if the child vi not set as child window then this issue was not happend, only if i set as a child then its getting down with each mouse click on this vi.
    Regards,
    Balaji DP
    Attachments:
    parent child vi.zip ‏32 KB

    hello,
                sorry i forget to add one vi....this
    sub.vi set as a child window and main as a parent window using user32.dl
    now try
    this, just check.... 
    1.
    click on the child vi button
    2.
    sub.vi will open
    3. just
    click on the graph, now check when you do each click the sub.vi will move down
    below.
    open
    the sub.vi, where you will find set parent and child.vi,  make disable that using disable structure
    4. run
    the main.vi
    5.
    click the child vi button
    6.
    subvi will open and click on the graph using mouse, when you do each click on
    the graph the vi  will not move down below.
    As per
    my task, I want to keep my main.vi as a parent and all subvi’s as a child.( Not
    as a subvi), also when I click on the graph the vi should not move down below.
    On my
    project I am  calling vi as dynamically
    only….this is for example vi which I sent you.
    Help me..!
    Regards,
    Balaji DP
    Attachments:
    parent child vi.zip ‏46 KB

  • Parent-Child Hierarchy in Informatica

    Can anyone please tell me the solution for the below scenario in Informatica. I have seen this scenario in folkstalk.com Take a look at the following tree structure diagram. From the tree  structure, you can easily derive the parent-child relationship between  the elements. For example, B is parent of D and E.    The above tree structure data is represented in a table as shown below. SOURCE TABLE:  C1C2C3C4ABDHABDIABENULLACFNULLACGNULL  Here in this table, column C1 is parent of column C2, column C2 is parent of column C3, column C3 is parent of column C4. Design a mapping to load the target table with the below data. Here you  need to generate sequence numbers for each element and then you have to  get the parent id. As the element "A" is at root, it does not have any  parent and its parent_id is NULL. TARGET TABLE Seq_IDELEMENTParent_ID   1    A   NULL   2    B   1   3    C   1   4    D   2   5    E   2   6    F   3   7    G   3   8    H   4   9    I   4  Both Source and Target are Oracle tables.Please help me how to acheive this in Informatica.

    AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~     AA선릉야구장 역삼풀싸롱 OlO 4314 6363 강북풀싸롱, 명동풀살롱MM명동룸싸롱위치+가격++문의 한예슬실장 BEST EVENT로 화끈하게!~

  • Parent/child records from same table

    I want to create a query that is a union such that the 2nd resultset is based on the 1st resultset. I have a table that has parent/child records in the same table.
    Table: EVENTS
    EVENT_ID
    PARENT_EVENT_ID
    CREATED_DATE
    (other columns)
    if PARENT_EVENT_ID is null then it is a parent record, else it is a child record. I want to select all parent records then union them with all the associated child records...something like this:
    select * from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null -- All parents
    union
    select * from EVENTS where PARENT_EVENT_ID in (select EVENT_ID from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null) -- include any children of parents selected from above
    This works but it's kind of ugly, I want to avoid using the sub-select in the 2nd because it is a repeat of the 1st statement, is there a way to alias the first statement and just refer to it in the 2nd query?

    Hi,
    kev374 wrote:
    Thanks, one question...
    I did a test and it seems the child rows have to also satisfy the parent row's where clause, take this example:
    EVENT_ID|PARENT_EVENT_ID|CREATED_DATE
    2438 | (null) | April 9 2013
    2439 | 2438 | April 11 2013
    2440 | 2438 | April 11 2013
    select * from EVENTS where CREATED_DATE < sysdate - 9
    start with EVENT_ID = 2438
    connect by PARENT_EVENT_ID = prior EVENT_IDSo you've changed the condition about only wanting roots and their children, and now you want descendants at all levels.
    This pulls in record #2438 (per the sysdate - 9 condition) but 2439 and 2440 are not connected. Is there a way to supress the where clause evaluation for the child records? I just want to pull ALL child records associated with the parent and only want to do the date check on the parent.Since the roots (the only rows you want to exclude) have LEVEL=1, you can get the results you requested like this:
    WHERE   created_date  < SYSDATE - 9
    OR      LEVEL         > 1However, since you're not ruling out the grandchildren and great-grandchildren any more, why wouldn't you just say:
    SELECT  *
    FROM    events
    WHERE   created_date     < SYSDATE - 9
    OR      parent_event_id  IS NOT NULL;?
    CONNECT BY is slow. Don't use it if you don't need it.
    If you x-reference my original query:
    select * from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null -- All parents
    union
    select * from EVENTS where PARENT_EVENT_ID in (select EVENT_ID from EVENTS where CREATED_DATE < sysdate - 90 and PARENT_EVENT_ID is null) -- include any children of parents selected from above
    The 2nd select does not apply the created_date < sysdate - 90 on the children but rather pulls in all related children :)Sorry; my mistake. That's what happens when you don't post sample data, and desired results; people can't test their solutions and find mistakes like that.

Maybe you are looking for