Can you determine a dragged objects Class Name when it is dropped?

Is there a way to determine the class name for a dragged object.
I have set up two objects. One is a JList that acts as a data source for the second object which is a JTable. Both objects serve as both drag source and drop targets. I need to be able to react to the following events:
1. Drag value from JList to JTable.
2. Drag value from JTable to JTable (itself) to reposition order.
3. Drag value from JTable to JList (deletes item from JTable).
So far, I have had no problem in getting #1 to work.
The problem is determining how to consistently interpret which event is happening for 2 and 3. Both the drop (DropTargetDropEvent event) and the dragDropEnd (DragSourceDropEvent event) are fired for either 2 or 3 above. If I could identify the source class for the dragsource and the target class for the droptarget, the coding would be easy. I haven't been able to find anything on this while reviewing the API documentation.
Any help would be appreciated.
Thanks

No, there are not multiple policies - the host names for all aliases on that single webserver are together in a single host identifier. And I realize I can only have a single challenge redirect, I just want to use a variable to redirect to the host name that was accessed as opposed to a static name.

Similar Messages

  • Can you refer to the original host name when using a challenge redirect?

    I have an authentication scheme that uses a challenge redirect to cause authentication to happen using https instead of http. However, this seems to break some of our monitoring scripts because now the credential challenge is coming from a different host name. Is it possible to refer to the original host name with some type of variable in the challenge redirect parameter? Below is an example:
    1. User accesses secured URL at http://appstenv2.company.com/testurl
    2. This webserver is hosting several aliases (appstenv2.company.com, appstenv4.company.com, appstenv6.company.com) and has a main name of appsdev.company.com - but is a single apache webserver where there is an application server plugin installed which will route to the desired application server environment based on the original hostname. So if a user accesses it with a name of appstenv2.company.com/testurl they will be routed to the "test 2" environment application server. If they access it as appstenv6.company.com, they would be routed to the "test 6" environment application server.
    3. This webserver listens on both http and https.
    4. The current challenge redirect can only redirect to a specific URL so it is set to "https://appsdev.company.com" which works fine interactively but the recorded monitoring scripts suddenly see a new hostname doing the prompting for credentials even though it is the same webserver - just a different alias.
    5. If possible, I would want to do the redirect in a relative fashion rather than absolute by using the original hostname from the URL being accessed. So, if the user was accessing http://appstenv2.company.com/testurl, I would like to redirect to https://appstenv2.company.com for the basic authentication. but with the same authentication scheme, if the user accesses http://appstenv6.company.com/testurl, I would want the challenge redirect to go to https://appstenv6.company.com. I'm hoping it's possible to use some system variable like SERVER_NAME to do this.
    Challenge Redirect: https://$SERVER_NAME
    Does anyone know if that is available in OAM 10.1.4.3 or some other way to accomplish the same thing with a single authentication scheme?

    No, there are not multiple policies - the host names for all aliases on that single webserver are together in a single host identifier. And I realize I can only have a single challenge redirect, I just want to use a variable to redirect to the host name that was accessed as opposed to a static name.

  • Object class name does not exist in IDM

    Hi Team
    We are process of Integrating GRC 10.1 to Enterprise Portal.Followed accordingly as per the SAP Note No. 1977781.
    While running the Schema Job, we get a message Schema Imported Suxcessfully. While running the Job : GRAC_REPOSITORY_SYNC_JOB, the job
    shows successful, but a Warning Message : User Adaptor Empty in SLG1 T.code.
    I have checked the Path suffix,connectors,data source and all are maintained but no sure about this warning message.
    Secondly,I tried for test creation of user on Portal via GRC 10.1.I am getting below error
    "Object class name does not exist in IDM" Please see log below
    Request gets closed stating Auto Provisioning failed.Please advice if someone has faced same issue and the steps taken to rectify it.
    Thanks
    Nitesh

    Hi Nitesh,
    We worked on this issue for quiet sometime with SAP to get this finally fixed You can check all below mentioned notes.
    First Check:
    Please check the Note: 1915763 - Error Provisioning from GRC 10 to SAP Portal while adding or removing a role in Change Account request type.
    This Note says that if your LDAP set as data source is read-only in Portal, then you need to change it to Modifiable in order to allow create or change user belonging to LDAP.
    We have set the UME correctly and no longer read-only. But our access requests still used to fail with the following messages.
    "Object class name does not exist in IDM".
    Second Check:
    Kindly ensure the field mapping for portal is done in IMG settings properly.
    If it is fine please check below note 2033714 - AC10.0: error in SGL1 "Object class name does not exist in IDM".
    This note is only to check if you have made any mistake with your portal mapping and doesn't address the correct issue.
    Third Check:
    Finally after implementing SAP note 1941250 - UAM: Truncated parameters provisioned on changing users from Access Request
    our issue got fixed.
    Regards,
    Madhu.

  • Can you have more than one Skype name?

    I have registered a phone line and premium account to my Skype name. I would like one for work and one for home separately. Can you link more than one Skype name to one account?

    I think you are using the same Composition Class on both project. On the properties tab, you can change this number (e.g.: EDGE-1637270).

  • Can you still sort songs by popularity, name, etc.

    Can you still sort songs by popularity, name, etc.? It does not appear as thought these options are still available.
    Message was edited by: DrDanCDman

    Hi Jim,
    I tried both things suggested and neither worked.  This just happened after updating. 
    Like thousands of others, I got an error message MSVCR80, and had to delete all Apple programs from my desktop and re-load iTunes. Since updating, nothing iTunes related has operated properly on my iPad, or Desktop.
    Very frustrating.  A service request to Apple results in a charge for service.  Very unfair since it is their own update that is causing the issues.
    Thanks for the suggestions.

  • Can you send invoice tax with my name?

    Hi,
    My name is Nutt, from Thailand.
    If I buy Personalised iPad 2 with Wi-Fi 16GB - Black ฿13,500.00 via http://store.apple.com/th/ , Can you send invoice tax with my name?
    px. Is Ipad 2's price ฿13,500.00 include tax?

    This is a user to user forum. Apple is not here. Apple does not answer here.
    You need to speak directly to Apple for your nation if you have issues to discuss.

  • Can you customize what folder MAIL goes to when adding attachments?

    Can you customize what folder MAIL goes to when adding attachments?
    My friend has 2 email addresses for businesses.
    He has invoices in folders for both, and wants to set up the Mac like this:
    When he writes from one email address and attaches documents - he want the Mac always to go to the corresponding folder for that company of his. Same for the other email address...
    Make sense?
    Can this be done?
    Thanks in advance....

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether your problem is caused by third-party system modifications that load automatically at startup or login. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode* and log in to the account with the problem. The instructions provided by Apple are as follows:
    Shut down your computer, wait 30 seconds, and then hold down the shift key while pressing the power button.
    When you see the gray Apple logo, release the shift key.
    If you are prompted to log in, type your password, and then hold down the shift key again as you click  Log in.
    *Note: If FileVault is enabled under OS X 10.7 or later, or if a firmware password is set, or if the boot volume is a software RAID, you can’t boot in safe mode. Safe mode is much slower to boot and run than normal, and some things won’t work at all, including wireless networking on certain Macs.  The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Can you still access Adobe PDF SAVED FILES WHEN YOU GET A NEW COMPUTER

    Can you still access Adobe PDF SAVED FILES WHEN YOU GET A NEW COMPUTER ? Do you loose the files you have saved on you old computer when you get another computer?

    I may not be clear on what you are asking here but I'll try an answer anyway since that's the type of guy I am.
    If you have PDF files on your old computer, you will need to transfer them to your new computer. You can use a flash drive or CD if needed.
    But again, I think I'm not getting what you are really wanting to know. If I'm not, can you give us some more details?

  • Can you lower the sound of the "click" when sliding to unlock?

    Can you lower the sound of the "click" when sliding to unlock?

    Settings>Sounds>Lock Sounds>On/Off.
    Doesn't lower it, though. Just turns it off or on.

  • Can You Use the Open In GarageBand button when doing Artist Lessons?

    Can You Use the Open In GarageBand button when doing Artist Lessons or is it just me? I've downloaded Bubbly and made a perfect recording but I can't click the Open In GarageBand Button. Is this suppose to be like this.

    In the free lessons 8 & 9 you won't be able to click on it, also I don't think the paid lesson allow that either...

  • Can you still download from UK i tunes when you are traveling abroad - I have UK i-tunes, but going to study in Europe, but still want to use my UK account?

    can you still download from UK i tunes when you are traveling abroad - I have UK i-tunes, but going to study in Europe, but still want to use my UK account?

    You can ONLY buy from the itunes store of your country of residence ( proven by the valid billing address on your credit card) and ONLY while inside the borders of that country.

  • Can you prevent Procurement Wizard from popping up when Procurement Documen

    Can you prevent Procurement Wizard from popping up when Procurement Document is checked on the Logistics tab?
    We would like to handle all Procurement Documents in a process separate from entry of the Sales Order. Is there a way to not have the Procurement Wizard pop up automatically when a Sales Order has Procurement Document checked and is then added?
    Alan

    Hi Alan,
    Please check Note No. :1524113. There is a change in working of Procurement Wizard as follows which is mentioned in the Note.
    In the "Customer" window of the procurement confirmation wizard, the "Include All Open Sales Orders" checkbox was added. If you select this checkbox, all open sales orders with unfulfilled purchase quantities for the selected business partners are displayed.
    If you do not select this checkbox, only those sales orders are displayed for which the "Procurement Document" option was checked or that use a drop-ship warehouse and have unfulfilled purchase quantities.
    Check in Demo if you do not tick the checkbox 'Procurement Document' and in the Procurement Confirmation wizard, use the 'Include All Open Sales Orders, whether the same helps.
    Kind Regards,
    Jitin
    SAP Business One Forum Team

  • What app can you download that will allow wifi calling when you have no cell signal through the network?

    What app can you download that will allow wifi calling when you have no cell signal through the network?

    You might Give this App a Try..  I have not use this my-self but have Look through the Link see what you think..
    Talkatone free calls + texting - Android Apps on Google Play
    Here's some Extra Info I found through C|Net on the app you were asking about
    3 Android apps for Wi-Fi calling with Google Voice - CNET

  • Can you please fix the move and scale when adjusting a wallpaper can you set it up right before iOS 7 update

    Can you please fix the move and scale when adjusting a wallpaper can you set it up right before iOS 7 update and it aggravates me that every time I try to put a picture of my wallpaper is just Zooms in and you can't see all of the picture it wasn't like this before

    Nobody here can change it. We're all just other users like yourself here.

  • How can you determine the absolute path to a dynamically created NetStream object?

    We are trying to implement video captioning with a freeware component, ccforflash. This requires us to provide an absolute or relative path  to our NetStream object. How can we determine this path in Flash CS5 AS3?
    From the CCforFlashCS5 documentation:
    "2. Object name and path
    Type the name and path.  This is the instance name of the object with which CCforFlashAS3 will synchronize. It must be spelled correctly, since CCforFlashAS3 will query the object with this name for timing information in order to synchronize the captions. The path must also be included; either relative to the CCforFlashAS3 component (i.e. this.parent) or the absolute path from the main level of the movie (root)."

    It would be easier if the NetStream object was created on an easily identifiable place on the timeline. This player has an MVC architecture. The NetStream object is created in a subclass to Model class, which is itself a subclass of the EventDispatcher object. The View class access it via an interface.
    As you can guess, it's not that straightforward to determine where the NetStream object is located on the timeline. This is compounded by the fact that the NetStream object does not have a name property.
    I've tried methods like these, but they only work for the DisplayObject class:
    public static function displayObjectPath( avDisplayObject : DisplayObject ) :String
    var lvPath:String = "";
    do
    if( avDisplayObject.name ) {
    // var obj_name:String = (avDisplayObject.name == 'root1') ? 'root' : avDisplayObject.name;
    if (avDisplayObject.name != 'root1') {
    lvPath = avDisplayObject.name
       + ( lvPath == "" ? "" : "." + lvPath );
    } else {
    trace("displayObjectPath() NO NAME avDisplayObject="+avDisplayObject);
    } while( avDisplayObject = avDisplayObject.parent );
    return lvPath;
    } // displayObjectPath
    private  function showChildren(d:DisplayObjectContainer):void {
    trace("showChildren()");
    if (d.numChildren>0) {
    for (var c:Number = 0; c < d.numChildren; c++) {
    trace("showChildren c=",c," name=",d.getChildAt(c).name);

Maybe you are looking for

  • QuickTime Will Not Install - Key Error

    I'm using a validated Microsoft Windows XP Home Edition. I can't get QuickTime to install. I had it installed previously, but I deleted it. I tried to install it again and again, but I still keep getting this exact same error: http://img295.imageshac

  • Does sender file adapter loose files/ miss them??

    HI All, I am in a file to IDOC scenario. Xi is picking files from a network folder and creating each file into a single IDOC and sends to R/3. All seems fine when we do testing for 1 file at a time However I realised that if more than 20 or 40+ files

  • Videos won't play since 4.5 upgrade???

    I upgraded to 4.5 a few weeks ago (curve 8320 with T-Mobile) and any videos that I try to put on my phone now in WMV, AVI, etc format will not play.  Either I get a red error box saying the file is incompatible or it acts like it's going to play but

  • How do i download my itunes music to my pc or usb?

    How do I download my itunes music to my pc or usb?

  • Itunes won't let me move songs?

    When I try and move a list of songs from my iPod, to a newly created playlist it won't let me do it? Can anyone shed any light? Thanks Btw, I am on a Mac Book Pro Retina, latest updates on everything. If that makes a difference?