Can't get show/hide event of child UI Component to fire

I have 4 UI Components, each one inside the other (nested). If the "hide" event of Component 1 is fired, I'm expecting the other components hide events to also fire, but they don't. So for example:
+ Component 1
+> Component 2
++> Component 3
+++> Component 4
Is this the correct behaviour? If so, is it possible to do what I'm trying to do any other way?

Thanks for clarifying. I think I found a way to do it. Adding in each child component:
protected function initComp():void
    parentDocument.addEventListener(FlexEvent.SHOW, myShowMethod);
    parentDocument.addEventListener(FlexEvent.HIDE, myHideMethod);
By rights hiding the parent component will cause a chain reaction, firing the hide event handlers on the child components too.

Similar Messages

  • Can't get show/hide subform to work.

    Although I've done my best to show/hide a subform through a radio-button in Livecycle, I can't get it to work.
    Any help will be greatly appreciated.
    Please see:
    https://dl.dropboxusercontent.com/u/92058288/problem.jpg
    https://dl.dropboxusercontent.com/u/92058288/hide%20or%20show%20subform.pdf

    You have created the object on Master page that causing the issue also missed the 'presence' after object name. I redesign the form but not on master Page and apply the below script and its working
    Click event of 'Nee' radio button
    if(this.rawValue == 1)
    xfa.form.form1.subform1.sub1.presence="hidden";
    Click event of 'Ja' radio button
    if(this.rawValue == 1)
      xfa.form.form1.subform1.sub1.presence="visible";
    For more info refer the below screenshot.

  • I am new to IPhoto 9.5  and I think I missed a step. I uploaded pictures but they do not appear as an event in my library.  They are in Last imported only. How can I get them into event.

    I am new to IPhoto 9.51  and I think I missed a step when I uploaded my vacation pictures. I uploaded pictures but did not import them into the library.  They are in L\last imported only.  How can I get them into events?

    If the Photos are under 'Last Import' or 'Last N Months' then they are in the Library somewhere, just not where you are expecting them to be. We know this as both Last Import and 'Last N Months' are not places, just listings of elements in the the Library.
    The two most common reasons that they can't be found is either an incorrect date on the camera or the Sorting (View Menu -> Sort Photos - or Sort Events, as appropriate) has changed.
    Quick route to find them: Right-click on one of the images in Last Import and select 'Show Event'. This will bring you to the image in the Library.

  • Calling 'show hide' event from 'select' event

    Hi all,
    is it possible to call an event from another event?
    Can i call the 'show hide' event from the 'select' event to disclose the selected row?
    As a sidenote: is it possible to remove the show/hide button/link but to retain the show/hide functionality?
    Thanks in advance....
    Regards,
    Robert

    Hi Gabrielle,
    Yes indeed... the row information is sent... the 'select' event i'm refferring to is the one generated when you drag a viewobject as a readonly table to a UIX datapage...
    It is generated initially as
    <event name="select" source="EmpView10">
        <set target="${bindings.EmpView1Iterator}" property="currentRowIndexInRange" value="${ui:tableSelectedIndex(uix, 'EmpView10')}"/>
    </event>However i must have made a typo last time as it works now... ohwell.. made some changes and submitted the selected row as parameter using
        <invoke method="handleEvent" javaType="view.DisclosureEventHandler">
            <parameters>
                <!-- Selected row -->
                <parameter javaType="java.lang.String" value="${ui:tableSelectedIndex(uix, 'EmpView10')}" />
                <!-- SessionScope attribute to put detailDisclosure in -->
                <parameter javaType="java.lang.String" value="detailDisclosure" />
                <!-- All the other stuff -->
                <parameter javaType="oracle.cabo.servlet.expl.ControllerImplicitObject" value="${uix}"/>
            </parameters>
    </invoke>This works more cleanly and can be reused...
    Thanks for your replies... it always helps when someone is thinking along... it makes you takes some crossroads you wouldn't think of...
    Regards,
    Robert

  • I updated my iPhone 4 to iOS5 and let it sync with my Macbook and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    I updated my iPhone 4 to iOS5 and let it sync with my Macbook (running Lion) and now all my iPhone iCal entries are gone. How can I get my iCal events back on my iPhone?

    Me too!  Help anyone?

  • I have deleted apps to get storage but can't get shows on iTunes! It says that I don't have enough storage but I have over 1GB

    I have deleted apps to get storage but can't get shows on iTunes! It says that I don't have enough storage but I have over 1GB

    You should have at least 10% of your total storage.
    1 GB is not enough, you need to delete more
    Settings > General > Usage > delete from here.

  • How can I get my ical events from my iMac to my iPhone? Anything I entered into ical on my iPhone will transfer to ical on iMac when plugged in, but not vice versa.

    How can I get my ical events from my iMac to my iPhone? Anything I entered into ical on my iPhone will transfer to ical on iMac when plugged in, but not vice versa. I think I have changed my iPhone (after looking at similar questions) to iCloud, but it's still not syncing.

    You need to sign into your iCloud account on your Mac, and check the Calendar option. System Preferences>iCloud, sign on your iCloud account, check the apps you want to sync with your device.
    Cheers,
    GB

  • Issue while readnig child records of Advanced Table after show/hide event.

    Hi All,
    As suggested in OAF dev guide, I used below piece of code to get control on Child items for selected Parent
    -- code Starts
    // get a handle to inner table
    OATableBean innerTable =
    (OATableBean)webBean.findChildRecursive("InnerTableBean");
    // create an enumerator
    OAInnerDataObjectEnumerator enum =
    new OAInnerDataObjectEnumerator(pageContext, innerTable);
    while (enum.hasMoreElements())
    RowSet innerRowSet = (RowSet) enum.nextElement();
    // get all rows
    Row []rowsInRange = innerRowSet.getAllRowsInRange();
    for (int i = 0; i < rowsInRange.length; i++)
    Row nextRow = (Row) rowsInRange;
    -- code Ends
    The above piece of code works when I don’t select show/hide link of Adv table and select custom ‘Update Parent/Child’ button that is placed at header(parent) level,
    upon btn event it returns all the rows of parent and works fine. But when I select show/hide link and then select ‘Update Parent/Child’ button then only it return no of Child rows displayed (fetched) on page...
    For example, If I have 100 child records of a set and only 10 child rows are displayed at a time on child region , then above code only returns 10 records,
    Ideally it suppose to return all 100 values.
    Can someone please help on this to understand why it only return 10 records not all 100 after selecting Hide show region ? and how can I fix this issue.
    Thanks
    Anand

    Hi,
    Use the VO attached to the inner table and use VO.fetchedRowCount instead of rowsInRange.length in the for loop.
    int rowcount = vo.fetchedRowCount();
    i.e. for (int i = 0; i < rowcount ; i++)
    Thanks,
    Kumar

  • Can not get shows "Purchased on Apple TV" in iTunes to show up on Apple TV

    Hi - Ugg! To try and make this all work I deleted and re-added Apple TV to iTunes. I now can not get any of the shows that have been transferred to my laptop (which I did not want in the first place) to show up on the Apple TV.
    All the shows that I bought now live in iTunes under "Purchased on Apple TV" but are not showing up on my Apple TV.
    When I go to sync it wants to move the few shows I have left on my Apple TV over and I can't get it to not do this.
    Thanks

    Control-click the movies in iTunes, reveal them in the Finder, move them over as you would any other file, and drag them into the open iTunes application window. Rented movies won't play if moved this way.
    (62979)

  • How can i get back the text of child

    I did an application to connect a db and show the datas in table.but the text of all such as button or textview seems disappear.how can I get them back?
    Here's the snap picture of my problem.
    http://img191.photo.163.com/rocboy_yang/13457324/655578057.jpg

    Hello Ty Lu,
    Have you hardcoded the text values for each button in the 'text' property of each button or are they assigned programaticaly from the context, are you using the message pool, perhaps for translation?
    Perhaps just right-clicking on your project in NWDS and selecting 'Reload' will straighten things out for you, give it a try.
    Regards,
    Patrick.

  • My IPAD (original version) is deleting everything over 30 days from my calendar.  How can I prevent this and how can I get the deleted events back?

    My IPAD (original version) is deleting everything over 30 days from my calendar.  How can I prevent this and how can I get back the deleted events? 

    You are most welcome

  • Can't get past calendar events to sync with Outlook

    I can't seem to get past caldendar events on my iphone to sync back to outlook.  The basic issue is that when I purcahsed the iphone 4 a few months ago, it only synced back 6 months and deleted all previous calendar events.  However, I want to get all the past calendar info from my previous iphone onto the new one.  I have tried taking the old iphone and syncing through itunes and it only adds the newer outlook calendar events to the iphone, but doesn't transfer the phone calendar events back to the computer (outlook).  Any suggestions?

    Have you been through all these?
    iTunes 7 doesn't recognize the iPod.
    Your Windows PC doesn't recognize iPod.
    iPod appears in Windows Explorer but does not appear in iTunes.
    iPod does not appear in iTunes.
    Fast user switching in Windows XP is not supported.
    Strange iPod behavior.
    When restoring the iPod, put it into disk mode first.
    Putting iPod into disk mode.

  • I can't get certain iPhoto events to play on apple TV

    When I go into my computer on Apple TV it only pulls up 4 events in my photos. I'm trying to get to other events but can't

    Welcome to the Apple Community.
    For the avoidance of doubt, when you say you have tried all suggestions, does that include restarting both the iPad and the router.

  • Apple tv 1st gen can't add to hd and can't get shows off mac

    i have a apple tv 1st gen with hard drive
    #1 a month ago all was great i would go to my mac and add shows to hard drive through itunes but that has disapered now with new i-tunes it dont give option to add music or videos
    #2 last week i could conect to mac and watch my shows that i download but now it says "this devise is not autherised to view " or somthing like that
    I AM STUMPED
    Things I have tried
    Reset apple tv
    re autherised account
    re atach to mac with pin code
    nothing works
    i can still watch shows D/L prior to last week just not anything in last week
    also apple tv 2 works fine

    Thanks.  I'm not sure abou the type of security - I just use the Apple Airport Utility to have a password protected main network, as well as a guest network.  For the name there is a space in between the two words.  One is:  Family Network.  For the password, one does contain a symbol but the other one is just alpha numerical characters.

  • Get all mouse events no matter what component the mouse is over

    Is there anyway to get all the mouse events, in for example, an applet? Usually, the only component that recieves the mouse event is the component which is being hoverred by the mouse. Is there anyway to just get all the mouse events without adding listeners to every component?
    Problem:
    Well, the real problem is that I have an Applet, that the componentCount() method returns 0. I want to get all mouse events on the applet, but if I just do a appletInstance.addMouseListener(this), it doesn't recieve the mouse clicks. It does however, get mouse exit and mouse enter events.
    Thanks for any support.

    Use an AWTEventListener:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=727731&start=1

Maybe you are looking for