DND to external Javascript Application

Hello
I was wondering if it is possible to drag elements from a RAP Tree widget into an external Javascript application, which is running in a Browser widget?
So far I tried using the same Tree in a RCP application, which worked.
DND on the Tree itself works in RAP too, but as soon as an element is dragged outside of the Tree, the drop is blocked.
Is it not supported?
greets
Flavio

Hi Flavio,
to make the things clear - you want to drag a TreeItem to external JS
application (not RAP based) loaded in Browser widget? And this approach
is working in RCP? Right? Unfortunately, this is currently not possible
in RAP. Could you provide a simple snippet/project to demonstrate this
functionality.
Regards,
Ivan
Ivan Furnadjiev
Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/
Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/

Similar Messages

  • External Javascript not working with C# and XAML windows phone app

    I've added a WebView into my project. If I navigate to the html file that contains external javascript files they don't work. Bit if I write the javascript code hardcoded into the html file it works properly.
    Here is the html portion:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html lang="en" xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta charset="utf-8" />
    <title></title>
    <script type="text/javascript" src="testjs.js"></script>
    </head>
    <body>
    <div id="abcd"></div>
    <br/>
    hello! this is a simple html block.
    </body>
    </html>
    Here is the javascript portion:
    document.getElementById("abcd").innerHTML = "New text!";
    When I open the webview it shows
    hello!
    this is a simple html block.,
    but if the javascript code worked it would show
    New
    Test! hello! this is a simple html block.
    And in the C# code the uri is called this way:
    url = onlineTestWebView.BuildLocalStreamUri("myUrl", "problem_page/test.html");
    StreamUriWinRTResolver myResolver = new StreamUriWinRTResolver();
    onlineTestWebView.NavigateToLocalStreamUri(url, myResolver);

    I assume this is because you are using NavigateToString. Please see
    http://blogs.msdn.com/b/wsdevsol/archive/2014/06/20/a-primer-on-webview-navigatetolocalstreamuri.aspx
    Matt Small - Microsoft Escalation Engineer - Forum Moderator
    If my reply answers your question, please mark this post as answered.
    NOTE: If I ask for code, please provide something that I can drop directly into a project and run (including XAML), or an actual application project. I'm trying to help a lot of people, so I don't have time to figure out weird snippets with undefined
    objects and unknown namespaces.

  • Error when starting Firefox 3.6. "Javascript Application error. Invalid username/password combination. If you continue to get this error, try entering your email address as your username." Any suggestions on what to look for to resolve this?

    When starting Mozilla Firefox 3.6, I get an error window which opens up additionally overtop my browser windows stating:
    "Javascript Application"
    followed with :
    "Invalid username/password combination. If you continue to get this error, try entering your email address as your username."
    Obviously it is happening with one of my email addresses/usernames & password combinations of which I know the username for (which I choose not to post here) and I'm not sure where to begin looking for a resolution to this problem.

    I was able to resolve this by disabling (under Tools - Add-ons) Yahoo! Mail Notifier
    Hope this helps some of you also!

  • HELP. Window pops up on Firefox browser that says JavaScript Application, and under that it says 101. There is an OK bitton. when I click OK, up comes the window again and again.

    HELP. Window pops up on Firefox browser that says JavaScript Application, and under that it says 101. There is an OK bitton. when I click OK, up comes the window again. Then after hitting OK again and box goes away, when I move my mouse the box comes up identically again. I even called Apple support. They tried things; told me it may well be some set'''bold text'''ting in Firefox Preferences. This started right after Mac Update Install upon closing. Any help, please. My browser is totally (obviously) stuck in this loop!!! [email protected] jason

    Hi,
    Please check if this happens in [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]
    [http://support.mozilla.com/en-US/kb/Uninstalling+add-ons Uninstalling Add-ons]
    [http://kb.mozillazine.org/Uninstalling_toolbars Uninstalling Toolbars]
    Safe mode disables the installed '''Extensions''', and themes ('''Appearance''') in '''Tools''' ('''Alt''' + '''T''') > '''Add-ons'''. Hardware acceleration is also temporarily disabled - the manual setting is '''Tools''' > '''Options''' > '''Advanced''' > '''General''' > '''Use hardware acceleration when available'''. [https://support.mozilla.org/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u Options > Advanced]. All these settings/add-ons can also be individually or collectively disabled/enabled/changed in Firefox normal mode to check if an extension, theme or hardware acceleration is causing issues.

  • Error: Javascript Application: what happened:[Exception... "Component returned failure code: 0x80520012 (NS_ERROR_FILE_NOT_FOUND) [nsIFile.createUnique]" nsresult: "0x80520012 (NS_ERROR_FILE_NOT_FOUND)" location: "

    When I double click on the Firefox icon, a box pops up heading Javascript Application and inside is the error message as detailed above. The box offers only one option "OK" and once I click on that the program works well. I access emails online and when I click on the respons button or to send a new email, the same error message pops up.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]

  • I get a "JavaScript Application - Reference Error: XPCSafeJSObjectWrapper is not defined" error every time I try to open a new tab.

    <blockquote>Locking duplicate thread.<br>
    Please continue here: [/questions/777191]</blockquote><br>
    Just like the title says, starting with Firefox 4 Beta 6 or 7, I forgot. Any time I try to open a new blank tab (sometimes even when I start up Firefox and the app tabs load) I get an error that says "JavaScript Application - Reference Error: XPCSafeJSObjectWrapper is not defined" If I close it everything works as normal again (until I open a new tab) but it is very annoying to have to do this. Is there any fix for this or is the bug just still there?

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]
    * [[Troubleshooting plugins]]

  • How do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    how do I fix the following error, it comes up every time I open a Firefox page; "type error: Components.classes[cid] is undefined" (JavaScript Application)
    == This happened
    ==
    Every time Firefox opened
    == a few months ago
    ==
    == Troubleshooting information
    ==
    Application Basics
    Name Firefox
    Version 3.6.3
    Profile Directory
    Open Containing Folder
    Installed Plugins
    about:plugins
    Build Configuration
    about:buildconfig
    Extensions
    Name
    Version
    Enabled
    ID
    Adblock Plus 1.2 true
    Adobe DLM (powered by getPlus(R)) 1,6,2,49 true
    AVG Safe Search 9.0.0.825 true {3f963a5b-e555-4543-90e2-c3908898db71}
    AVG Security Toolbar 4.504.019.002 true avg@igeared
    Fasterfox 2.0.0 false
    Forecastfox 0.9.10.2 true {0538E3E3-7E9B-4d49-8831-A227C80A7AD3}
    Java Console 6.0.05 true
    Java Console 6.0.03 true
    Java Console 6.0.07 true
    Java Console 6.0.11 true
    Java Console 6.0.13 true
    Java Console 6.0.15 true
    Java Console 6.0.17 true
    Java Quick Starter 1.0 true [email protected]
    Microsoft .NET Framework Assistant 1.2.1 true {20a82645-c095-46ed-80e3-08825760534b}
    NoScript 1.9.9.77 true {73a6fe31-595d-460b-a920-fcc0f8843232}
    Java Console 6.0.19 true
    Java Console 6.0.20 true
    Modified Preferences
    Name
    Value
    accessibility.typeaheadfind.flashBar 0
    browser.history_expire_days 0
    browser.history_expire_days.mirror 180
    browser.places.importBookmarksHTML false
    browser.places.importDefaults false
    browser.places.leftPaneFolderId -1
    browser.places.migratePostDataAnnotations false
    browser.places.smartBookmarksVersion 2
    browser.places.updateRecentTagsUri false
    browser.startup.homepage_override.mstone rv:1.9.2.3
    extensions.lastAppVersion 3.6.3
    general.useragent.extra.microsoftdotnet ( .NET CLR 3.5.30729)
    keyword.URL http://au.yhs.search.yahoo.com/avg/search?fr=yhs-avg&type=yahoo_avg_hs2-tb-web_au&p=
    network.cookie.prefsMigrated true
    places.last_vacuum 1272511429
    print.print_bgcolor false
    print.print_bgimages false
    print.print_command
    print.print_downloadfonts true
    print.print_evenpages true
    print.print_in_color true
    print.print_margin_bottom 0.5
    print.print_margin_left 0.5
    print.print_margin_right 0.5
    print.print_margin_top 0.5
    print.print_oddpages true
    print.print_orientation 0
    print.print_pagedelay 500
    print.print_paper_data 0
    print.print_paper_height 11.00
    print.print_paper_size -134744073
    print.print_paper_size_type 1
    print.print_paper_size_unit 0
    print.print_paper_width 8.50
    print.print_printer Lexmark 4200 Series
    print.print_reversed false
    print.print_scaling 1.00
    print.print_shrink_to_fit true
    print.print_to_file false
    print.printer_Lexmark_4200_Series.print_bgcolor false
    print.printer_Lexmark_4200_Series.print_bgimages false
    print.printer_Lexmark_4200_Series.print_command
    print.printer_Lexmark_4200_Series.print_downloadfonts true
    print.printer_Lexmark_4200_Series.print_edge_bottom 0
    print.printer_Lexmark_4200_Series.print_edge_left 0
    print.printer_Lexmark_4200_Series.print_edge_right 0
    print.printer_Lexmark_4200_Series.print_edge_top 0
    print.printer_Lexmark_4200_Series.print_evenpages true
    print.printer_Lexmark_4200_Series.print_footercenter
    print.printer_Lexmark_4200_Series.print_footerleft &PT
    print.printer_Lexmark_4200_Series.print_footerright &D
    print.printer_Lexmark_4200_Series.print_headercenter
    print.printer_Lexmark_4200_Series.print_headerleft &T
    print.printer_Lexmark_4200_Series.print_headerright &U
    print.printer_Lexmark_4200_Series.print_in_color true
    print.printer_Lexmark_4200_Series.print_margin_bottom 0.5
    print.printer_Lexmark_4200_Series.print_margin_left 0.5
    print.printer_Lexmark_4200_Series.print_margin_right 0.5
    print.printer_Lexmark_4200_Series.print_margin_top 0.5
    print.printer_Lexmark_4200_Series.print_oddpages true
    print.printer_Lexmark_4200_Series.print_orientation 0
    print.printer_Lexmark_4200_Series.print_pagedelay 500
    print.printer_Lexmark_4200_Series.print_paper_data 1
    print.printer_Lexmark_4200_Series.print_paper_height 11.00
    print.printer_Lexmark_4200_Series.print_paper_size -134744073
    print.printer_Lexmark_4200_Series.print_paper_size_type 0
    print.printer_Lexmark_4200_Series.print_paper_size_unit 1
    print.printer_Lexmark_4200_Series.print_paper_width 8.50
    print.printer_Lexmark_4200_Series.print_reversed false
    print.printer_Lexmark_4200_Series.print_scaling 1.00
    print.printer_Lexmark_4200_Series.print_shrink_to_fit true
    print.printer_Lexmark_4200_Series.print_to_file false
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_bottom 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_left 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_right 0
    print.printer_Lexmark_4200_Series.print_unwriteable_margin_top 0
    privacy.clearOnShutdown.cookies false
    privacy.clearOnShutdown.offlineApps true
    privacy.cpd.cookies false
    privacy.item.offlineApps true
    privacy.sanitize.migrateFx3Prefs true
    privacy.sanitize.timeSpan 3
    security.warn_viewing_mixed false
    security.warn_viewing_mixed.show_once false
    == Firefox version
    ==
    3.6.3
    == Operating system
    ==
    Windows XP
    == User Agent
    ==
    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)
    == Plugins installed
    ==
    *-getplusplusadobe16249
    *Office Plugin for Netscape Navigator
    *Adobe PDF Plug-In For Firefox and Netscape
    *Default Plug-in
    *NPRuntime Script Plug-in Library for Java(TM) Deploy
    *The QuickTime Plugin allows you to view a wide variety of multimedia content in Web pages. For more information, visit the QuickTime Web site.
    *Shockwave Flash 10.0 r45
    *iTunes Detector Plug-in
    *Garmin Communicator Plug-In 2.8.1.0
    *Windows Presentation Foundation (WPF) plug-in for Mozilla browsers
    *Java(TM) Platform SE binary
    *Next Generation Java Plug-in 1.6.0_20 for Mozilla browsers
    *Npdsplay dll
    *DRM Store Netscape Plugin
    *DRM Netscape Network Object

    How do I fix this problem ...javascript (cid) applications.

  • How to Use Mobile Service in HTML/JavaScript Application

    The Windows Azure Mobile Service is a back end tool for mobile applications. It supports various platforms, such as Windows Store, Windows Phone 8, iOS and Android. The Windows Azure
    Mobile service can also support HTML/JavaScript. This article helps you to get a basic idea of how to use the Windows Azure Mobile Service in HTML/JavaScript applications.
    Let us start with a Quick startup project provided by Microsoft. A Quick startup is a simple demo project that can help us to understand how to use the Windows Azure Mobile Service with HTML/JavaScript. So let's start from the Quick startup project.
    Login into in the Windows Azure portal and use the following procedure.
    This article assumes you already have a Windows Azure account and the mobile service is enabled in your account.
    1. Create a new Windows Azure Mobile Service
    Click on the +New button from the left corner and select Compute -> Mobile Service and then click on the "Create" button.
    The Windows Azure portal popup creates a mobile service wizard when you click the Create button. Windows Azure asks you to enter the mobile service name as shown in the following image:
    Select the database options and region for your mobile service and click on the "Next" button.
    Once your mobile service is successfully created, the portal will show all your mobile services as shown in the following images.
    Ok! We have created a new mobile service successfully. Let's move to our subsequent steps.
    1. Quick startup Project 
    As we all know, the Windows Azure Mobile Service can support many platforms such as Windows Store, Windows Phone 8, iOS, Android and HTML/JavaScript. This article only tells us about the new HTML/JavaScript platform that is recently added to the Windows Azure
    Mobile Service.
    In the image above, we are in the quick startup page where the Windows Azure Mobile Service allows the user to choose their platform. I have selected the HTML/JavaScript Platform.
    In the image above, we found 3 quick steps that can allow us to run <g class="gr_ gr_74 gr-alert gr_gramm Grammar" data-gr-id="74" id="74">a HTML/JavaScript</g> sample project. 
    1. Create Table: In this step the user needs to create a table that can used by the sample project, once you hit the create TodoItem Table button. The Portal will create a TodoItem table in your mobile service. You
    can check this table by clicking on the data tab(menu).
    2. Download and run your app: In this step the user needs to download the Quick startup project that is provided by the Windows Azure portal. Click on the "Download" button and download the project. You will
    see the following files in the quick startup project.
    The Server folder contains some files to setup this project locally. The user should run the file from the server folder corresponding to their OS. I am using Windows OS so I ran the <g class="gr_ gr_80 gr-alert gr_spell ContextualSpelling ins-del multiReplace"
    data-gr-id="80" id="80">lanch</g>-<g class="gr_ gr_79 gr-alert gr_spell ContextualSpelling ins-del multiReplace" data-gr-id="79" id="79">windwos</g> file to setup this project locally in
    IISExpress.
    Press r and enter the key, you will see IISExpress started. Do not close this Windows and open your browser and request the http://localhost:8000/ page.
    Enter the Item name and click on the add button. Your Item will be added to the TodoItem table.
    3. Configure your host name: This step is a very important step for any HTML/JavaScript application that uses the Windows Azure Mobile Service. In this <g class="gr_ gr_83 gr-alert gr_gramm Punctuation only-ins
    replaceWithoutSep" data-gr-id="83" id="83">step</g> the user must register their website name in the Cross-origin resource sharing (CORS). By default, "localhost" is added by the Windows Azure Mobile Service
    so your quick startup project can run without making any CORS setting changes. The user can add their website domain name by clicking on the configure tab (menu).
    The user can add as many website domain names as needed.

    are you asking a question or did you just post a tutorial here? you might want to post it as a blog post or wiki entry instead.

  • I'm getting a persistent "JavaScript Application" popup notice that is difficult to close. The problem just started today, and I can't seem to fix it. Any suggestions?

    The offending popup reads:
    [JavaScript Application]
    (yellow triangle with an exclamation point) followed by the words "uninstal set"
    Note: the spelling of uninstall is as shown above.

    Other users have reported that this is caused by one of their add-ons. I suggest going to the Add-ons page and disabling everything in the Extensions category that is not essential, and then restarting Firefox. Hopefully it's not caused by something you really rely on.
    orange Firefox button > Add-ons > Extensions
    ''or''
    Tools menu > Add-ons > Extensions
    Any luck?

  • How can I fix the problem of a pop up window that appears every time firefix loads titled [Javascript Application] and says "balance.balance is undefined"

    The small "[Javascript Application] and balance.balance is undefined" pop up window is followed by a pop up that shows a caution sign and the number 3. They repeatedly pop back up when I click on the OK button or X, I must click them 10 times before they go away. Then Firefox seems to run normally until I exit and try to return later to Firefox.
    I uninstalled Firefox and reinstalled it with no effect. I have also run any troubleshooter that seemed to remotely refer to this problem with no effect.
    This does not happen when I load Internet Explorer or Google Chrome. Except for this problem, I much prefer Firefox over either one.

    hello, can you try to replicate this behaviour when you launch firefox in safe mode once? if not, probably an addon is interfering here...
    [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]]

  • A message keeps popping up saying JavaScript Application and under it uninstal set. How can I get rid of it?

    The box keeps popping up every time I bring up a new page or refresh a page, saying at the top JavaScript Application and at the bottom uninstal set. Don't know how to get rid of it. Can someone help me?

    I had this problem too, drove me crazy until my son figured out that it was just Firefox (we also use Internet Explorer)...I looked on the help site & immediately saw that others had the same problem.
    First I did the "DISABLE Java Console 6.0.22" that did not work, so I disabled the Yahoo toolbar (as another user had mentioned). I don't know if it was just the last thing, or both...but the annoying pop up is gone! Yaaay! It only took a few minutes.
    Firefox Help is great! Thanks to those who post their fix, it does help the rest of us!

  • When I try to start Firefox I get an Error Message: (Javascript /application) Error on adding toolbar element. TypeError, aButtonLabel is undefined. id. Google Shortcut settings

    When I try to start Firefox I get an Error Message: (Javascript /application) Error on adding toolbar element. TypeError, aButtonLabel is undefined. id. Google Shortcut settings. Firefox will not start. I have been through the troubleshooting steps. Nothing helps
    == I tried to enter Firefox. No apparant reason ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; InfoPath.2; AskTbGLSV5/5.8.0.12304)

    Hi,
    had this problem but now sorted.
    Go to settings for google shortcuts, follow link to homepage and upload latest version, it has not yet been approved by Firefox, but works and solves the bug.
    Hope this helps.
    A

  • How to hide url of third party external/partner application

    I have a third party external oracle application arcims by the esri corporation that I have on a test portal.
    It has it's own password authentication. In order to have sso work i have to turn off its password request.
    The problem is that the URL address shows in the portal. Anyone could simply type in the URL and access the application directly and bypass the portal login. Can One hide or wrap the URL in portal? If so HOW is that done?

    Since you'va already made Java non-portable by using Runtime, you're probably bbest off using the OS's capabilities to find the program's path.
    If the 3rd party program was always contained in Java's classpath list, you could use Class.getResource().

  • I updated Firefox to 4.0 and now I keep getting a box that says its a JavaScript Application and inside the box it says "Uninstal Set". What do i do???

    I keep getting more and more of them at a time and its annoying me! Everytime I try to open a page in firefox or do anything this happens.

    Someone else posted this issue recently. Do the suggestions in this thread help?
    [https://support.mozilla.com/en-US/questions/813884 when open firefox or change website, there is a warning window, [JavaScript Application], "uninstal set" | Firefox Support Forum | Firefox Help]

  • Have updated to F.F.5. and I now get this evertime I use it. Message: [Javascript Application] TypeError: Components.classes[@softage.ru/skype/SkypeFfExtension;1'] is undefined - HELP

    Have updated to F.F.5. and I now get this error every time I use it.
    Message: [Javascript Application] TypeError: Components.classes[@softage.ru/skype/SkypeFfExtension;1'] is undefined - HELP
    As do hundreds of others it seems. If you run a search on this error.
    Many thanks for your help over this.
    Sean

    That is caused by a problem with the Skype extension for Firefox.
    See:
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

Maybe you are looking for

  • Returnable & non returnable gate pass

    Hello SAP Experts, There is the requirement for the procedure & configuration of returnable & non returnable gate pass for any material going out for repair or for refillment in our company.Also tracking its billing documents which can include servic

  • Cross tab on quarter (date) parameter

    Post Author: tomahawk CA Forum: Charts and Graphs I need to design a cross tab report where the column is a certain date field (say date1). However, the report is a quarterly report, so the columns should be for each quarter (date1 falling in a parti

  • Temps Files and Desktop Clutter

    This is my first Mac and learning the quirks can be challenging at times. I would like to stop the temp files from saving to my desktop, as I am getting really tired of having to delete 10-15 files every single day (help for this on the Windows side

  • Can't open 10.3

    I have an iMac 400 and installed 10.3 and everything seems OK with the installation. When I restart the machine, all I get is the apple and the spinning wheel. I have reinstalled 10.3 3 times and still get the spinning wheel. I have upgraded the firm

  • Up grade question

    I have a MacBook (black cover) with Mac OSX 10.5.8, Intelcore processor.  It has 2 mb Ram (2 – 1mbcards) and a 250gb hard drive.  I would like to up grade my Ram to 4 or 8 mb ram and a 500gb hard drive.  Can anyone suggest brand or site to buy thesei