|
| Re: Drag&Drop to Editor Area, Javascript error [message #757904 is a reply to message #757620] |
Sun, 20 November 2011 10:39  |
Ivan Furnadjiev Messages: 1421 Registered: July 2009 |
Senior Member |
|
|
Hi Markus,
all JavaScript errors a definitely a bug in RAP. Please open a bugzilla
and attach the snippet there.
Thanks,
Ivan
On 11/20/2011 4:24 PM, M. Herrmann wrote:
> Hi,
>
> I am creating an RAP Application that supports dragging from a TableViewer to the editor area to open that object in an editor.
>
> It works fine except when dragging over another TableViewer in an Editor.
> Moving the mouse over a TableViewer in an editor (while dragging an object) gives me this error (in all browsers I tested):
>
>
> Javascript error occurred:
>
> Error: TypeError: a._rowContainer is undefined
>
> fileName: (url)?custom_service_handler=org.eclipse.rwt.internal.resources.JSLibraryServiceHandler&hash=H650592485
> lineNumber: 172
> Debug: off
>
>
> This happens when:
>
>
> an editorAreaTransfer is set up
> the editor contains a TableViewer (have not testes other viewers)
> the user drags the item over the TableViewer in the editor (even without dropping it)
> RAP-Version: 1.5.0 (have not tested other versions), Browsers: All
>
>
> This might either be a bug or i am not using it correctly.
> Whatever it is, there should not be a JavaScript error.
>
> I have attached a sample RAP application project that demonstrates the error.
> There are two actions on the toolbar to open two different types of editors, both containing TableViewers. Just drag something from the left view over the editor area while there is an editor open.
>
>
> Could someone have a look at it please?
> Thanks in advance
>
>
> Markus
|
|
|
Powered by
FUDForum. Page generated in 0.01515 seconds