Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » EGL Development Tools » Mobile widgets(Cannot use some widgets )
Mobile widgets [message #903320] Thu, 23 August 2012 07:27 Go to next message
Trond Einar Nilsen is currently offline Trond Einar NilsenFriend
Messages: 36
Registered: December 2011
Member
Hi,
I am testing 8.1 for an application for a mobile web. Mostly it works well, but for some widgets, for example "view" I get this error:

UNSPECIFIED_EVENT_TYPE_ERR: DOM Events Exception 0: The Event's type was not specified by initializing the event before the method was called.
undefined:0
[CRRUI2094E] Here are the EGL function calls leading to this error:

DojoMobileView.DojoMobileView.createDojoWidget() [native JavaScript]
DojoMobileView.DojoMobileBase.render() [native JavaScript]
DojoMobileView.DojoMobileContainer.render() [native JavaScript]
DojoMobileView.DojoMobileView.render() [native JavaScript]

Actually I do not know how this widget should be used, but I was trying to find a substitution for a drop down box as the ordinary combo box did not work on my Android cell phone.

Is this a defect or can I do something to prevent the error?
Rgds Trond
Re: Mobile widgets [message #903339 is a reply to message #903320] Thu, 23 August 2012 08:49 Go to previous messageGo to next message
fahua jin is currently offline fahua jinFriend
Messages: 58
Registered: July 2011
Member
Does this always happen? Do you have a specific steps to reproduce the problem?
Re: Mobile widgets [message #903343 is a reply to message #903339] Thu, 23 August 2012 08:58 Go to previous messageGo to next message
Trond Einar Nilsen is currently offline Trond Einar NilsenFriend
Messages: 36
Registered: December 2011
Member
Yes, I create a new workspace, new mobile web client application, create a rich UI handler, drops a view widget to the grid and error apears (every time)

Trond
Re: Mobile widgets [message #903508 is a reply to message #903343] Fri, 24 August 2012 03:21 Go to previous messageGo to next message
fahua jin is currently offline fahua jinFriend
Messages: 58
Registered: July 2011
Member
Trond,

I tried in my machine but could not reproduce the problem. Could you please provide following information?

1) Your render engine for EDT 0.81. Windows > Preference > EGL > Rich UI > Appearance > Render Engine for the Rich UI editor.
2) The version of browser you used (the browser configured in the EDT render engine).
3) The OS you used (Windows/Linux version, 32bit or 64 bit etc).

Rocky

[Updated on: Fri, 24 August 2012 03:22]

Report message to a moderator

Re: Mobile widgets [message #903525 is a reply to message #903508] Fri, 24 August 2012 06:54 Go to previous messageGo to next message
Trond Einar Nilsen is currently offline Trond Einar NilsenFriend
Messages: 36
Registered: December 2011
Member
1. Trident (Internet Explorer)
2. I am unsure about this one. I do not understand if I should find "Trident" version (I do not know how to do that) or "Internet Explorer". Internet Explorer version is 9.0.8112.16421 (64 bit)
3. W7, 64 bit, sp1

Trond
Re: Mobile widgets [message #903608 is a reply to message #903525] Fri, 24 August 2012 14:03 Go to previous messageGo to next message
Brian Svihovec is currently offline Brian SvihovecFriend
Messages: 55
Registered: July 2009
Member
Trond,

Check out this blog entry on using the Mobile Widgets - xeglblog.blogspot.com/2012/08/developing-mobile-applications-with-egl.html

This blog entry links to wiki.eclipse.org/EDT:SettingUpForMobile, which mentions that Safari is required when developing applications using the Mobile widgets.

-Brian
Re: Mobile widgets [message #903627 is a reply to message #903525] Fri, 24 August 2012 15:11 Go to previous messageGo to next message
Dan Darnell is currently offline Dan DarnellFriend
Messages: 145
Registered: November 2011
Location: Arkansas
Senior Member
As is also indicated in the links from that blog post, you must also make sure that you are using the 32-bit version of Eclipse -- even if you are working on Windows 7 on a 64-bit machine.

--Dan
Re: Mobile widgets [message #903912 is a reply to message #903627] Mon, 27 August 2012 08:57 Go to previous message
Trond Einar Nilsen is currently offline Trond Einar NilsenFriend
Messages: 36
Registered: December 2011
Member
Thank you Brian and Dan,

I followed the instructions and tried again, but still I got the error message. However, by removing the "selected = true" property from the source, the error disappeared and I now manage the widget nicely. Maybe something is not right in my setup, but with this little modification in the source it works fine. All other mobile widgets also works fine.
Rgds Trond
Previous Topic:Library List management call RPG Programs
Next Topic:Declaring NULL capable variables
Goto Forum:
  


Current Time: Wed Apr 24 20:32:34 GMT 2024

Powered by FUDForum. Page generated in 0.03773 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top