Identify What was Clicked

I have a click event listener on a group component. I'm trying to figure out if a label was clicked or anywhere else in the group was clicked. The event.currentTarget is just returning the group in all instances.
I originally had a click event set on the label and a click event on the group, but I end up with two events. Since the click event on the label is designed to remove the Group from display, remove event listeners, etc., the second click even then throws an error, because the Group no longer exists.
The code below should give you a good idea as to what I am trying to do. Currently the groupClick() function will throw an error. I typed in in this way to explain what I am trying to accomplish.
<?xml version="1.0" encoding="utf-8"?>
<!-- Specify the root tag and namespace. -->
<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="library://ns.adobe.com/flex/spark"
    xmlns:mx="library://ns.adobe.com/flex/mx"
height="200" width="200" click="groupClick(event)">
<fx:Script>
  <![CDATA[
   import flash.events.MouseEvent;
   private function groupClick(event:MouseEvent):void {
               // Do this if clicking anywhere that is NOT on the closeX label
               this.parentDocument.openGroupList.selectedIndex = this.parentDocument.openGroupListAC.getItemIndex(this as Group);
               this.parentDocument.openGroupListClick();
               // Do this if clicking on the closeX label
               this.removeEventListener(MouseEvent.MOUSE_MOVE, this.parentDocument.mouseMoveHandler);
               this.parentDocument.openGroupListAC.removeItemAt(this.parentDocument.openGroupListAC.getI temIndex(this as Group));  
   ]]>
  </fx:Script>
<s:Label top="7" right="7" text="X" id="closeX" fontSize="14" color="0xffffff" buttonMode="true" useHandCursor="true"/>
</s:Group>
I could use:
if (String(event.target).indexOf('closeX') > 0) {
               this.removeEventListener(MouseEvent.MOUSE_MOVE, this.parentDocument.mouseMoveHandler);
               this.parentDocument.openGroupListAC.removeItemAt(this.parentDocument.openGroupListAC.getI temIndex(this as Group));
else { ....
That works, but string comparisons seem rather inefficient. If someone has a better way, I'd like to know!!
Message was edited by: JFillman

Event.currentTarget is the object you called addEventListener on.
Event.target is the original dispatcher of the event.  For bubbling events, it can be some child object, but some objects like Label may not be mouse targets.
-Alex

Similar Messages

  • How to Reference What Was Clicked in a TileList using an ItemRenderer

    Hi,
    I've got a Tilelist and I'm using an ItemRenderer, which is a Button.
    I don't understand how to reference what was clicked. So, if the first tile (which is the first Obect) is clicked, how do I know that that particular one was clicked.
    <mx:TileList 
        id="myTL"
        dataProvider="{myAC}"
        width="400"
            height="400"
            columnCount="2"
            rowCount="2" />
    <mx:ArrayCollection id="myAC">
        <mx:Array>
        <mx:Object id="first" label="1" />
        <mx:Object label="2" />
        <mx:Object label="3" />
        <mx:Object label="4" />
        </mx:Array>
    </mx:ArrayCollection>
    ItemRenderer:
    <mx:Button xmlns:mx="http://www.adobe.com/2006/mxml"
    click="Alert.show( 'This was Clicked')">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    ]]>
    </mx:Script>
    </mx:Button>
    Thank you.
    -Laxmidi

    Hi Laxmidi,
    Using the itemClick event you can acheive this using the event Object. Check the sample code below:
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Script>
    <![CDATA[
    import mx.events.ListEvent; 
    import mx.controls.List; 
    import mx.controls.Alert; 
    import mx.events.ItemClickEvent; 
    private function onItemClick(event:ListEvent):void
    var strAlert:String = "Item Row Index Clicked : " + event.rowIndex + "\n";strAlert +=
    "Item Column Index Clicked : " + event.columnIndex + "\n";Alert.show(strAlert);
    ]]>
    </mx:Script>
    <mx:TileList id="myTL" dataProvider="{myAC}" itemClick="onItemClick(event)" width="400" height="400" columnCount="2" rowCount="2">
    <mx:itemRenderer>
    <mx:Component>
    <mx:Button xmlns:mx="http://www.adobe.com/2006/mxml" click="Alert.show( 'This was Clicked')">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;]]>
    </mx:Script>
    </mx:Button>
    </mx:Component>
    </mx:itemRenderer>
    </mx:TileList>
    <mx:ArrayCollection id="myAC">
    <mx:Array>
    <mx:Object id="first" label="1" />
    <mx:Object label="2" />
    <mx:Object label="3" />
     <mx:Object label="4" />
     </mx:Array>
     </mx:ArrayCollection>
     </mx:Application>
    You can also try this by writing the Click event on the Button in the TileList itemRenderer as well where you can access easily the data of the itemClicked easily using the data Object.
    Thanks,
    Bhasker

  • Why is the battery life dropping so fast on my iphone 4s. Just started all of a sudden today, never did it before. I already double-clicked the bottom button to see what was running and nothing was running. I checked multiple times and turned apps. off.

    All of a sudden today my battery life just started dropping off on my iphone 4s. I charge it every night. I double clicked the circle button on the bottom to see what was running and there was minimal running but i turned them off anyway. I checked back in a little bit, the same, turned the couple things off again which were like phone and messages... nothing major running. Battery percentage still plummeted til it just turned off.

    Are there apps on your phone right now? 
    I think one of your apps is causing this.
    The only way to find out is to delete them all and then add them one by one to see what app maybe causing this.
    Especially if you've gone thru 3 iphones already.
    When you restored as new - did you sync back your stuff - apps/music or did you restore from backup?

  • How to I undo what was done after clicking on a link from a spammed email?

    Hello...
    I am usually Never one to click on any suspicious emails, let alone links within the emails, but I recieved an email from my Uncle that looked slightly suspicious, but I let myself click on the link within it. It turned out to be a spammed email with a BS link from "msnbc" reharding jobs. What happened when I clicked that spammed link, and what can I do to undo what was done? I am terrified that I unintentionally installed something on my Mac Air through clicking on this link. What do I need to do to erase what was do, and how to I find out what was done? Thank you very much for your help. I greatly appreciate any advice.

    Without knowing what webpage the link opened and what you did after you opened it, it is impossible to be 100% certain of anything that may have resulted from that. An email itself cannot install anything. If the webpage did not result in any unusual activity, and you did not deliberately install or supply any personal information then you have no cause for concern.
    "Unusual activity" would include symptoms such as a webpage you cannot close or navigate away from, and that would be a mere nuisance that is easily solved. If Safari or the browser you used is behaving normally then rest easy.
    Most of these spam emails do nothing but bombard you with ads or attempt to install a browser "toolbar" that does the same. Malicious emails include phishing scams and most of them are laughable (but they are getting better). Others carry Windows malware that cannot affect your Mac.
    To edit your profile click on your name at the top of this page (where it says Welcome, saratee14), scroll down to the heading My Products, click edit, and on the page that follows select your version of OS X from the dropdown menu. The only reason I questioned this was to confirm you have been updating OS X.

  • What line was clicked in webuijsf:table (similar to h:table)

    Hi! I have a jsf table, binded with table in the DB. One of the colums contains hyperlink. When this link is clicked I need to show the edit form for correspondent object. I've created a listener for this hyperlink, but how can I understand, what hyperlink was clicked? I need to get at least ID of the record, to fill edit form with appropriate values. Maybe it is possible to get correspondent RowKey or something else?

    put a link as one of the rows on the datatable DataTable, bind the dataTable to the backing bean,when the link is clicked an action method on the backing bean string edittable() is called.This mehod returns a row on the table.each row can then be interrogated by calling its fields i.e user.firstname ,user.lastname etc etc ...
    bb
    String edittable(){
    dataitem= (user) dataTable.getrowdata
    String fname = user.firstname;
    }

  • In previous version of Itunes I could view what was phyically on my nano by clicking on "on this device" this no longer available. How do i view what is on my nano?

    In previous itunes software I could physically see what was on my nano my clicking on "whats on this device" but that is no longer available. It was their on the summary page I believe. How do see what is on this device and then I could edit old podcasts?

    I don't know how you received an upgrade for iTunes.  You make it sound like it was sent to you.  At most your computer will tell you of a new version and you tell it to download it and install it.  However, a computer will not do this for a version which is incompatible.  iTunes 10.7 came out a few weeks ago but your computer would not notify you and even if it did, 10.7 would refuse to install on your computer.  So this part isn't making a lot of sense.
    Two ways to get the 'newer version' message.  One is to open your library on a computer running a newer version, and then try to open it with an older version.  Usually happens when the library is on an external and used with multiple computers.  The second way is if you have multiple versions of itunes installed on your computer.
    The newest (and likely the last) iTunes for OSX 10.5.8 is iTunes 10.6.3 which has been out for quite a while. 
    iTunes 10.6.3.25 - http://support.apple.com/kb/DL1575

  • Some one's email id is displaying on the update menu of the app store what was that

    some one's email id is displaying on the update menu of the app store what was that

    You installed a hacked app, originally from the Mac App Store. It contains the receipt for a different app, downloaded using an account that you don't control. You need to identify and remove the hacked app.
    Important: The app you need to remove is not necessarily the one named in the App Store notice. For example, if the App Store says you need to update "Twitter," the hacked app may be "Angry Birds" or something else entirely. Don't make any assumptions about which app you're looking for. To find it, you have to carry out a systematic search.
    Triple-click anywhere in the line of text below on this page to select it:
    kMDItemAppStoreHasReceipt=1
    Copy the selected text to the Clipboard (command-C).
    In the Finder, press the key combination command-F to open a search window, or select
    File ▹ Find
    from the menu bar. In the search window, select
    Search: This Mac
    from the row of tokens below the toolbar. Below that is a popup menu initially showing Kind. From that menu, select  Other...
    A sheet will drop down. In that sheet, select Raw Query and click OK or press return.
    Now there will be a text box to the right of popup menu. Click in that box and paste (command-V).
    The search window will show all the App Store products you've installed. Compare those search results with the list of your purchases from the App Store. To see the complete list, you may need to unhide hidden purchases. If any apps were download from the App Store using other Apple ID accounts that you control, sign in to the store under each of those ID's and check the purchases.
    At least one of the items listed in the search window is not among your purchases in the App Store. Move each such item to the Trash. You may be prompted for your administrator password. Empty the Trash.
    Log out and log back in. Test.

  • HT202667 I cannot change prime email address into what WAS my backup email address. Any solutions?

    Need to change prime email address into what WAS my backup email address.
    Can this be done?
    Mac 10.6 Intel Core 2 Duo

    Hi michaelfromripley,
    Thanks for the question.  If you first change your rescue email address to a different email address, then you should be able to change your primary email address for your Apple ID.  The following resources will explain more:
    Manage your Apple ID primary, rescue, alternate, and notification email addresses - Apple Support
    http://support.apple.com/en-us/HT201356
    Add, change, or delete the several types of email addresses you can use with your Apple ID account.
    Primary email address
    Every Apple ID account has one primary email address, and that address is your Apple ID. When you create an Apple ID, you enter the primary address to use as your Apple ID.
    Your primary address is also the contact email address for your account. Check it regularly, because it receives email that you need to manage your account. For example, before you can use a new or changed Apple ID, you need to verify it as directed in a verification email that Apple sends to that address. Didn't receive the email?Rescue email address
    A rescue address helps secure your Apple ID account against unauthorized access by someone who gains control of your primary address. If you have a rescue address, it receives all security-related Apple ID email instead of your primary address, including the email needed to reset your password or security questions.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Select “Password and Security” on the left side of the page. You may be asked to answer one or more security questions before continuing. Forgot the answers?
    If you see a list of three security questions, your account has the option to use a rescue address.
    Accounts that have fewer than three questions don't have and don't need a rescue address.
    Accounts that use two-step verification don't have and don't need a rescue address or security questions.
    Add a rescue address:
    Select Add Email Address, then enter your rescue address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address. If you don't verify the address, security-related email continues to go to your primary address.
    Edit a rescue address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address. If you don't verify the address, security-related email continues to go to your primary address.
    Delete a rescue address: Select Delete next to the address.
    Alternate email address
    You can add one or more alternate email addresses for use with Apple services such as Game Center, FaceTime, Find My Friends, iMessage, and OS X notifications.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Add an alternate address:
    Select Add Email Address, then enter your alternate address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Edit an alternate address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete an alternate address: Select Delete next to the address.
    Notification email address
    A notification address is automatically added to your account in certain circumstances:
    If you have a rescue address and turn on two-step verification, that address automatically becomes your notification address. With two-step verification, you don't need a rescue address.
    If you provide an email address with your shipping information when you purchase from the Apple Online Store, that address automatically becomes your notification address.
    Your primary address receives a copy of all Apple ID email that Apple sends to your notification address.
    Go to My Apple ID (appleid.apple.com).
    Select “Manage your Apple ID” and sign in.
    Edit a notification address:
    Select Edit next to the address, then enter the new address. Apple will send a verification email to that address. Didn't receive the email?
    Follow the instructions in the email to verify the address.
    Delete a notification address: Select Delete next to the address.
    Apple email related to your Apple ID account always comes from [email protected]. If you receive suspicious email, learn about identifying fraudulent email.
    Last Modified: Dec 22, 2014
    Change your Apple ID - Apple Support
    http://support.apple.com/en-us/HT202667
    Learn how to change the email address that you use as your Apple ID.
    In most cases, your Apple ID is also the primary email address of your Apple ID account. You can change your Apple ID to any other email address you control, as long as it's not already in use as an Apple ID. If your email address ends with @icloud.com, @me.com, or @mac.com, it's already an Apple ID. 
    Use these steps to reset your Apple ID:
    Sign out of iCloud, the iTunes Store, App Store, FaceTime, Find My Friends, Find My iPhone, and iMessage on each device that uses your current Apple ID for these services.
    Go to My Apple ID.
    Select Manage your Apple ID and sign in. Forgot your password?
    Select Edit next to Apple ID and Primary Email Address.
    Enter the email address that you want to use as your Apple ID, then select Save Changes. Apple will send a verification email to that address.
    Open the email from Apple, then click Verify Now. Didn't receive the email?
    When the My Apple ID page opens, sign in with your new Apple ID email address and password. When you see a message that verification is complete, you can start using your updated Apple ID.
    Update the features and services that you use with Apple ID, so that each one is using your updated Apple ID.
    If you need to change the Apple ID that's signed in to your iOS device, use these steps to sign out, then back in with a different Apple ID.
    Last Modified: Dec 11, 2014
    Cheers!
    - Judy

  • Identifying what kind of desktop i have

    how can i identify what kind of desktop i had when i was married.  we had one desktop in which i was one of the users on it. my husband was the administrator.  now that we are divorcing and i no longer live there i want to know if there is a way to make sure all my stuff is removed from it.  especially like pictures from iphoto, documents saved.... it's scary because he is a computer guy and i don't want him finding things that i had on there.

    Hopefully, you can log into your husbands account. Open Accounts or Users & Groups preferences. Click on the lock icon and enter his admin password. Select your user account from the list and then click on the Delete [-] button button. Opt to remove the acount using Secure Erase for one pass.
    This will remove your account and all your files that were stored in that account. But you cannot perform this remotely. You must gain access to the computer. He has probably already been in your account if you knew the password.

  • After upgrading to the newer version of Firefox, a lose all my tabs every time I close. I've done what was suggested in the FAQx, but I still lose them all when I close. I want to fix this. How?

    I want to know how to have my tabs save when I close Firefox. I did what was suggested in the FAQs section, but all my tabs disappear every time I close Firefox, whether using the "exit" command, or the "X" button. This was the very reason I never updated to the new version previously, but had hoped that the problem had been addressed and upgraded, now I'm stuck with having to reopen every tab every time I open Firefox. Please tell me there is a way to correct this. And, I'm not fluent in technospeak, so I need simple, basic instructions. Thank you. Mark

    Hi,
    Pressing '''Alt''' + '''T''' on the keyboard brings up the '''Tools''' menu.
    To see the full menu bar temporarily, press '''Alt''' or '''F10'''.
    To make the menu bar permanently visible, right-click on the '''+''' after the last tab and enable (tick) '''Menu Bar''' or press '''Alt''' + '''V''' > '''Toolbars''' > '''Menu Bar'''.
    [https://support.mozilla.com/en-US/kb/Options%20window All about Tools > Options]
    [https://support.mozilla.com/en-US/kb/Keyboard%20shortcuts Keyboard Shortcuts]
    Useful links:
    [http://kb.mozillazine.org/About:config Going beyond Tools > Options - about:config]
    [http://kb.mozillazine.org/About:config_entries about:config Entries]
    [https://support.mozilla.com/en-US/kb/Page%20Info%20window Page Info] Tools (Alt + T) > Page Info, Right-click > View Page Info
    [https://support.mozilla.com/en-US/kb/Viewing%20video%20in%20Firefox%20without%20a%20plugin Viewing Video without Plugins]
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]
    [https://developer.mozilla.org/en/Command_Line_Options#Browser Firefox Commands]
    [https://support.mozilla.com/en-US/kb/Basic%20Troubleshooting Basic Troubleshooting]
    [https://support.mozilla.com/en-US/kb/common-questions-after-upgrading-firefox-36 After Upgrading]
    [https://support.mozilla.com/en-US/kb/Safe%20Mode Safe Mode]
    [http://kb.mozillazine.org/Problematic_extensions Problematic Extensions]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20extensions%20and%20themes Troubleshooting Extensions and Themes]
    [https://support.mozilla.com/en-US/kb/Troubleshooting%20plugins Troubleshooting Plugins]
    [http://kb.mozillazine.org/Testing_plugins Testing Plugins]

  • When I try and open firefox now,I get a Run box that comes up and no matter what I click I get an error message.

    I have had a problem on my computer with a virus and after several days running different programs to clean up my computer and once it was clean the people over on PCHF suggested I do some things to make my computer more secure. While all this was going on I upgraded firefox to the latest 3.6.12 update, and added a fire wall, (Zonealarm). I updated everything on the computer with the latest and the greatest.
    I also was running a guest account on the computer as my main internet account and from what I understand the default guest account is not supported by the new zonealarm firewall so I decided to create another user account and then transfer all my user files off the guest account onto the newly created account that would have zonealarm support.
    Before this time I had ie explorer and firefox both working on all three of the user accounts on the computer and after all this work I can only get firefox to work on the newest account. When I try to connect to the internet on the other two accounts I get a box that pops up, 'Run as' with several things to click and no matter what I click I get sent to an error page with an error message: An error occured while processing your request. then and error message ....Ref # 97.dzd0060.1291309687.11103569
    Ie explorer will work on all 3 accounts but firefox seems like it wants to be hard to get along with. I don't think it is anything bad that is wrong, probably just a simple click of a box somewhere but I have read every thread on several forums over the past week and I can't find that box.LOL

    See:
    * [[Firefox is already running but is not responding]]
    * http://kb.mozillazine.org/Profile_in_use

  • How to get what was typed on a window which is inside another window

    Hey guys!
    I'm having a problem, i have created a program and when you click on a certain button a small window appears which was created from a class that i named Window...anyway this small window asks for a name, but somehow i can't send what was written in that window to the program that contains the main window...
    i've tried creating a method in the class Window, which is called public String returnName(){ return, name;} but this doesn't return anything.
    i hope you guys understand what i'm trying to say, if you do, any ideas of how i could do this???!!
    -O.D.

    this is the class Name1Window:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.io.*;
    import javax.swing.JTextField;
    public class Name1Window extends Frame implements ActionListener, WindowListener
         Label name;
         TextField txName;
         Button ok;
         Panel Pnl, PnlName, PnlOk;
         private String n;
         private String ln;
         public Name1Window()
              n= "";
              ln="";
              setSize(200,110);
              setTitle("Search");
              Pnl= new Panel();
              Pnl.setLayout(new GridLayout(2,1));
              PnlName= new Panel();
              PnlName.setLayout(new GridLayout(2,2));
              PnlOk=new Panel();
              PnlOk.setLayout(new GridLayout(1,1));
              name= new Label("Name");
              txName= new TextField(10);
              ok= new Button("OK");
              PnlName.add(name);
              PnlName.add(txName);
              PnlOk.add(ok);
              Pnl.setBackground(new Color(161, 187, 241));
              Pnl.add(PnlName);
              Pnl.add(PnlOk);
              add(Pnl);
              ok.addActionListener(this);
              addWindowListener(this);
         public void actionPerformed(ActionEvent e)
          {//If the user clicks ok:
               if(e.getSource()==ok)
                    String n1, ap1;
                   n1= txName.getText();
                   //calls the method save name and sends whatever was typed in txName:
                   saveName(n1);
                    dispose();
         public void saveName(String n2)
              this.n= n2;
              //If you write a System.out.println(n) it WILL print what was typed!!
               public String returnName()
              return n;//It's gonna return a " "
               public void windowClosing(WindowEvent e)
               //It exits the small window; Name1Window
               dispose();
                public void windowOpened(WindowEvent e){}
          public void windowClosed(WindowEvent e){}
          public void windowActivated(WindowEvent e){}
          public void windowDeactivated(WindowEvent e){}
          public void windowIconified(WindowEvent e){}
          public void windowDeiconified(WindowEvent e){}
    }

  • Is there a way of knowing what was downloaded/received by an iphone at a given time?

    A week ago I was abroad and kept data roaming at all times to avoid surprises. However, at some point I had to use data roaming for sending a message and unfortulately something of around 24MB was downloaded. Before that my data roaming consumption was below 1MB. I would like to contest this charge but for that I would have to know what was downloaded. My guess is that probably a pending app update was the cause of this but I would like to be sure. Is there a way of finding out details of network usage history?

    blawson wrote:
    Been bitten by LabVIEW wrote:
    I think one possibility I nixed was to use the refnum of the elements to determine which one it is.  IIRC, this is not possible because the refnum of the element is for the edit box only.
    Using LV7.0 on WinXP.
    This is indeed possible, at least in the newer versions I use.
    Take the array refnum from the click event data terminal and get a reference to the array element.  This refers to the element that was clicked, but you do need to work out how to get the index.  My method is to use property nodes to get the screen position and size of the element and the screen position and size of the array, as well as the array's Visible Index property. For each direction, take the quotient of the relative position of the element (account for padding!) over the size of an element.
    I suspect that taking the mouse coords and comparing to the array's sizes in pixels is similar, although I trust my method for events that don't have mouseclicks (what coords does Array:shortcut menu selection(User) return if you used the keyboard?)
    Here's an old version I happened to have open.  I've posted about this before, I suspect I have a clearer version in my gallery.  I use this method in my example code contest entry to work out which square of the chessboard is clicked.
    Thank you for that one!
    I am currently "locked up behind a down-rev fence" (working an old app in an old version) so I had not heard of that.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Problem description: I have ordered a new iMac but my current one seems to be running very slowly.  I believe it to be a memory related problem but can't seem to identify what is causing it.  Help is greatly appreciated.

    Problem description:
    I have ordered a new iMac but my current one seems to be running really slowly.  I believe it to be a memory related problem but can’t seem to identify what is causing it.  Your help is greatly appreciated.
    EtreCheck version: 2.1.8 (121)
    Report generated March 7, 2015 at 4:01:26 PM PST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        iMac (24-inch, Early 2008) (Verified)
        iMac - model: iMac8,1
        1 2.8 GHz Intel Core 2 Duo CPU: 2-core
        2 GB RAM Upgradeable
            BANK 0/DIMM0
                1 GB DDR2 SDRAM 800 MHz ok
            BANK 1/DIMM1
                1 GB DDR2 SDRAM 800 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        ATI Radeon HD 2600 Pro - VRAM: 256 MB
            iMac 1920 x 1200
    System Software: ℹ️
        OS X 10.10 (14A389) - Time since boot: 23 days 18:5:35
    Disk Information: ℹ️
        ST3320820AS_Q disk0 : (320.07 GB)
            EFI (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 319.21 GB (195.05 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
    USB Information: ℹ️
        HP Officejet 6000 E609n
        Apple, Inc. Keyboard Hub
            Primax Electronics Apple Optical USB Mouse
            Apple, Inc Apple Keyboard
        Apple Inc. Built-in iSight
        Western Digital External HDD 500.11 GB
            My Passport (disk1s1) /Volumes/My Passport : 500.11 GB (200.60 GB free)
        Apple Inc. BRCM2046 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Computer, Inc. IR Receiver
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /Applications/Popcorn 4/Popcorn.app
        [not loaded]    com.roxio.TDIXController (2.0) [Click for support]
            /System/Library/Extensions
        [not loaded]    com.aliph.driver.jstub (1.1.2 - SDK 10.7) [Click for support]
    Problem System Launch Agents: ℹ️
        [killed]    com.apple.accountsd.plist
        [killed]    com.apple.AirPlayUIAgent.plist
        [killed]    com.apple.bird.plist
        [killed]    com.apple.CalendarAgent.plist
        [killed]    com.apple.CallHistoryPluginHelper.plist
        [killed]    com.apple.CallHistorySyncHelper.plist
        [killed]    com.apple.cloudd.plist
        [killed]    com.apple.cmfsyncagent.plist
        [killed]    com.apple.coreservices.appleid.authentication.plist
        [killed]    com.apple.coreservices.uiagent.plist
        [killed]    com.apple.EscrowSecurityAlert.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.pluginkit.pkd.plist
        [killed]    com.apple.printtool.agent.plist
        [killed]    com.apple.rcd.plist
        [killed]    com.apple.recentsd.plist
        [killed]    com.apple.sbd.plist
        [killed]    com.apple.scopedbookmarkagent.xpc.plist
        [killed]    com.apple.secd.plist
        [killed]    com.apple.security.cloudkeychainproxy.plist
        [killed]    com.apple.spindump_agent.plist
        [killed]    com.apple.telephonyutilities.callservicesd.plist
        22 processes killed due to memory pressure
    Problem System Launch Daemons: ℹ️
        [killed]    com.apple.AssetCacheLocatorService.plist
        [killed]    com.apple.awdd.plist
        [killed]    com.apple.ctkd.plist
        [killed]    com.apple.diagnosticd.plist
        [killed]    com.apple.emond.aslmanager.plist
        [killed]    com.apple.GSSCred.plist
        [killed]    com.apple.icloud.findmydeviced.plist
        [killed]    com.apple.ifdreader.plist
        [killed]    com.apple.nehelper.plist
        [killed]    com.apple.nsurlsessiond.plist
        [killed]    com.apple.periodic-daily.plist
        [killed]    com.apple.periodic-monthly.plist
        [killed]    com.apple.periodic-weekly.plist
        [killed]    com.apple.softwareupdate_download_service.plist
        [killed]    com.apple.softwareupdated.plist
        [killed]    com.apple.spindump.plist
        [killed]    com.apple.tccd.system.plist
        [killed]    com.apple.wdhelper.plist
        [killed]    com.apple.xpc.smd.plist
        [killed]    org.cups.cupsd.plist
        20 processes killed due to memory pressure
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [loaded]    com.sonos.smbbump.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    UNKNOWN Hidden (missing value)
        Jawbone Updater    Application  (/Applications/Jawbone Updater.app)
        Dropbox    Application  (/Applications/Dropbox.app)
    Internet Plug-ins: ℹ️
        Photo Center Plugin: Version: Photo Center Plugin 1.1.2.2 [Click for support]
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        Default Browser: Version: 600 - SDK 10.10
        Flash Player: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.3
        OfficeLiveBrowserPlugin: Version: 12.3.6 [Click for support]
        CitrixICAClientPlugIn: Version: 11.2.0 [Click for support]
        iPhotoPhotocast: Version: 7.0
    3rd Party Preference Panes: ℹ️
        Citrix Online Plug-in  [Click for support]
        Flash Player  [Click for support]
        UE Smart Radio  [Click for support]
    Time Machine: ℹ️
        Auto backup: YES
        Volumes being backed up:
            Macintosh HD: Disk size: 319.21 GB Disk used: 124.16 GB
        Destinations:
            Time Machine Backups [Local]
            Total size: 3.00 TB
            Total number of backups: 98
            Oldest backup: 2013-08-28 05:45:36 +0000
            Last backup: 2014-12-30 19:39:32 +0000
            Size of backup disk: Excellent
                Backup size 3.00 TB > (Disk size 319.21 GB X 3)
    Top Processes by CPU: ℹ️
             5%    com.apple.WebKit.Plugin.64
             3%    WindowServer
             2%    sysmond
             0%    AppleSpell
             0%    com.apple.WebKit.Networking
    Top Processes by Memory: ℹ️
        41 MB    Finder
        41 MB    iTunes
        37 MB    Safari
        32 MB    com.apple.WebKit.Plugin.64
        32 MB    mds
    Virtual Memory Information: ℹ️
        53 MB    Free RAM
        501 MB    Active RAM
        463 MB    Inactive RAM
        398 MB    Wired RAM
        78.46 GB    Page-ins
        3.04 GB    Page-outs
    Diagnostics Information: ℹ️
        Mar 7, 2015, 12:41:34 PM    /Library/Logs/DiagnosticReports/Inkjet4_2015-03-07-124134_[redacted].crash
        Mar 5, 2015, 07:42:29 PM    /Library/Logs/DiagnosticReports/com.apple.WebKit.WebContent_2015-03-05-194229_[ redacted].crash

    That certainly looks like a low memory issue, 2 GB ram is barely enough to run Mac OS X versions from Lion through Yosemite.  The high number of Page Outs and killed processes show very high memory pressure.
    Try adding memory, but be sure it is high quality, Mac certified memory such as that from OWC, http://www.macsales.com or Crucial, http://www.crucial.com

  • How to find out row that was clicked in DataTable?

    Hi there,
    i have a dataTable component which renders a list from database. In the last column of this table you can click a link for further processing for this row.
    How to identify which row was clicked?
    <f:view>
         <h3>Subtitel</h3>
         <h:form>
           <h:dataTable      headerClass="tableheader"
                             var="list"
                             value="#{Uebersicht.uebersichtsliste}">
              <h:column>
                   <f:facet name="header">
                        <f:verbatim>KW</f:verbatim>
                            </f:facet>
                           <h:outputText value="#{list.cal.kw}" />
              </h:column>
              <h:column >
                   <f:facet name="header">
                        <f:verbatim>Bemerkung</f:verbatim>
                            </f:facet>
                   <h:outputText value="#{list.cal.feiertagNat}" />
              </h:column>
              <h:column >
                   <f:facet name="header">
                        <f:verbatim>Start</f:verbatim>
                            </f:facet>
                   <h:commandLink action="#{Uebersicht.start}" value="setzen"/>
              </h:column>
            </h:dataTable>
         </h:form>
    </f:view>How to identify the row to process in action methed "uebersicht.start"?
    Regards,
    ak

    the easiest way is you can send the parameters for the command link and the
    output link.this parameters will be the unique id of the rows ur r populating .
    get those parameters by:
    request.getParameter(keep the id u kept in the parameters list);
    I worked it out before ,its perfect.
    regards,
    raju reddy

Maybe you are looking for

  • Help on Wiping My Mac Book Pro and Reinstalling

    I got a new Mac Book Pro in January.  It is running Lion and OS 10.7.2.  When I got it the Apple Store transferred all my settings, files etc from my previous Mac Book Pro (running Snow Leopard). Since getting my new Mac the battery life is terrible

  • Problem with serial number for Photoshop CS 6

    I have installed Photoshop CS 6 on my new PC, I have a Serial number but got the answer that it is wrong ( I have checked With My Adobe and it is OK). I have also tried the Serial numbers for CS 5 and CS 4 but With the same results. What to do??

  • Difference between Retail Bapi and Normal BAPi

    HI,    could anyone of u let me know whats the difference between a normal bapi and RETAIL BAPI... I wanna use some RETAIL_BAPI in my Program.. so please let me know if u guys have any idea?? Is it a good idea to usea RETAIL BAPI? and alo please let

  • No change document  and no user exit is found   for CK11N tcode

    Dear All,     After execution of the transaction CK11N  in CDHDR table i dint find any entry for change document. But there is a business object for this transaction :BUS2044 which has no event . As there is no event in the business object and there

  • Lightroom 2.0 Shifts Color Dramatically during RAW Import

    I'm importing a card full of RAW images, and they all look fine when I first access them. THEN, "rendering preview" and my colors are no longer the same. Lightroom 1.x never did this! How do I stop this from happening in Lightroom 2.x???? I am shooti