Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » JavaScript error in IE with M7
JavaScript error in IE with M7 [message #133843] Fri, 22 May 2009 08:11 Go to next message
Christian Mising name is currently offline Christian Mising nameFriend
Messages: 9
Registered: July 2009
Location: Germany
Junior Member
This is a multi-part message in MIME format.
--------------050208070206020804070404
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit

Hi everybody,

since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
of a ComboViewer which setEnabled flag was set to false. I tried FF and
Safari which both work fine and do not show up this error. Unfortunately
the error message is in german:
"Could not evaluate javascript response:
Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
oder nicht aktiviert ist oder keinen Fokus zul
Re: JavaScript error in IE with M7 [message #133862 is a reply to message #133843] Fri, 22 May 2009 09:47 Go to previous messageGo to next message
Ralf Sternberg is currently offline Ralf SternbergFriend
Messages: 1313
Registered: July 2009
Senior Member

Hi Christian,

Could you check this with RC1, which is already released, and if the
problem persists, could you please file a bug report and include your
snippet? We could still try to include a fix into the release.

BTW, does the problem occur with the normal or the debug qx variant?

Best regards,
Ralf

> since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
> of a ComboViewer which setEnabled flag was set to false. I tried FF and
> Safari which both work fine and do not show up this error. Unfortunately
> the error message is in german:
> "Could not evaluate javascript response:
> Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
> oder nicht aktiviert ist oder keinen Fokus zulässt. ..."
> This means something like - the widget cannot obtain the focus, because
> it is not visible, not activated or it does not allow any focus.
> I append an example which demostrates this issue.
>
> Kind regards
> Christian
>
>
>
Re: JavaScript error in IE with M7 [message #133902 is a reply to message #133843] Fri, 22 May 2009 10:38 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Christian,

I can confirm this bug with RAP from CVS HEAD and IE8. Please file a
bugzilla to track the progress on this issue.

Best,
Ivan

Christian wrote:
> Hi everybody,
>
> since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
> of a ComboViewer which setEnabled flag was set to false. I tried FF and
> Safari which both work fine and do not show up this error. Unfortunately
> the error message is in german:
> "Could not evaluate javascript response:
> Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
> oder nicht aktiviert ist oder keinen Fokus zulässt. ..."
> This means something like - the widget cannot obtain the focus, because
> it is not visible, not activated or it does not allow any focus.
> I append an example which demostrates this issue.
>
> Kind regards
> Christian
>
>
>
>
Re: JavaScript error in IE with M7 [message #133915 is a reply to message #133862] Fri, 22 May 2009 11:23 Go to previous messageGo to next message
Christian Mising name is currently offline Christian Mising nameFriend
Messages: 9
Registered: July 2009
Location: Germany
Junior Member
Hi,

RC1 shows the same behaviour and there is no difference between the
standard and the debug qx variant. I filed a bug report with the example
attached.

Kind Regards,
Christian
Re: JavaScript error in IE with M7 [message #134081 is a reply to message #133843] Mon, 25 May 2009 17:17 Go to previous messageGo to next message
Markus  rüger is currently offline Markus rügerFriend
Messages: 369
Registered: July 2009
Senior Member
Hi,
we also experianced that behavior. In out case it occured because somehow
(not by our code) the combo viewer tries to get focus, and if it is disabled
(setEnabled(false)) as done by our code, then this exception occurs and
causes the complete kill of the app (need to do a refresh of the browser to
get it work again). This also occurs on Widget Combo, not only ComboViewer.
Regards,
Markus


"Christian" <christian.hoesel@gmx.de> schrieb im Newsbeitrag
news:gv5mov$4aa$1@build.eclipse.org...
> Hi everybody,
>
> since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
> of a ComboViewer which setEnabled flag was set to false. I tried FF and
> Safari which both work fine and do not show up this error. Unfortunately
> the error message is in german:
> "Could not evaluate javascript response:
> Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
> oder nicht aktiviert ist oder keinen Fokus zul
Re: JavaScript error in IE with M7 [message #134098 is a reply to message #134081] Mon, 25 May 2009 17:42 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Markus,

the bug:
277444: JavaScript error in IE when using setSelection on a ComboViewer
with setEnabled is false
https://bugs.eclipse.org/bugs/show_bug.cgi?id=277444
is fixed in CVS HEAD. Please check it with latest from CVS HEAD.

Best,
Ivan

"Markus Kr�������������������
Re: JavaScript error in IE with M7 [message #136138 is a reply to message #134098] Mon, 15 June 2009 15:52 Go to previous messageGo to next message
Loïc Bertholet is currently offline Loïc BertholetFriend
Messages: 57
Registered: July 2009
Member
Hi all,

I have the same error when I set the selection of a hidden Combo (for
example when it is in a Section or ExpandableComposite not expanded). Not
matter if it is enabled or not, the javascript error page occurred.

Should I re-open the bug #277444 or create a new one ?
Thanks,

Loïc

Ivan Furnadjiev wrote:

> Hi Markus,

> the bug:
> 277444: JavaScript error in IE when using setSelection on a ComboViewer
> with setEnabled is false
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=277444
> is fixed in CVS HEAD. Please check it with latest from CVS HEAD.

> Best,
> Ivan

> "Markus" wrote:
>> Hi,
>> we also experianced that behavior. In out case it occured because somehow
>> (not by our code) the combo viewer tries to get focus, and if it is
disabled
>> (setEnabled(false)) as done by our code, then this exception occurs and
>> causes the complete kill of the app (need to do a refresh of the browser to
>> get it work again). This also occurs on Widget Combo, not only ComboViewer.
>> Regards,
>> Markus
>>
>>
>> "Christian" <christian.hoesel@gmx.de> schrieb im Newsbeitrag
>> news:gv5mov$4aa$1@build.eclipse.org...
>>
>>> Hi everybody,
>>>
>>> since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
>>> of a ComboViewer which setEnabled flag was set to false. I tried FF and
>>> Safari which both work fine and do not show up this error. Unfortunately
>>> the error message is in german:
>>> "Could not evaluate javascript response:
>>> Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
>>> oder nicht aktiviert ist oder keinen Fokus zulï¿œsst. ..."
>>> This means something like - the widget cannot obtain the focus, because
>>> it is not visible, not activated or it does not allow any focus.
>>> I append an example which demostrates this issue.
>>>
>>> Kind regards
>>> Christian
Re: JavaScript error in IE with M7 [message #136299 is a reply to message #136138] Tue, 16 June 2009 08:23 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Loïc,

I can reproduce it with the Controls Demo. Please open a separate bug
about this issue.

Thanks,
Ivan

Loïc Bertholet wrote:
> Hi all,
>
> I have the same error when I set the selection of a hidden Combo (for
> example when it is in a Section or ExpandableComposite not expanded).
> Not matter if it is enabled or not, the javascript error page occurred.
>
> Should I re-open the bug #277444 or create a new one ?
> Thanks,
>
> Loïc
>
> Ivan Furnadjiev wrote:
>
>> Hi Markus,
>
>> the bug:
>> 277444: JavaScript error in IE when using setSelection on a
>> ComboViewer with setEnabled is false
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=277444
>> is fixed in CVS HEAD. Please check it with latest from CVS HEAD.
>
>> Best,
>> Ivan
>
>> "Markus" wrote:
>>> Hi,
>>> we also experianced that behavior. In out case it occured because
>>> somehow (not by our code) the combo viewer tries to get focus, and
>>> if it is
> disabled
>>> (setEnabled(false)) as done by our code, then this exception occurs
>>> and causes the complete kill of the app (need to do a refresh of the
>>> browser to get it work again). This also occurs on Widget Combo, not
>>> only ComboViewer.
>>> Regards,
>>> Markus
>>>
>>>
>>> "Christian" <christian.hoesel@gmx.de> schrieb im Newsbeitrag
>>> news:gv5mov$4aa$1@build.eclipse.org...
>>>
>>>> Hi everybody,
>>>>
>>>> since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
>>>> of a ComboViewer which setEnabled flag was set to false. I tried FF
>>>> and
>>>> Safari which both work fine and do not show up this error.
>>>> Unfortunately
>>>> the error message is in german:
>>>> "Could not evaluate javascript response:
>>>> Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
>>>> oder nicht aktiviert ist oder keinen Fokus zulï¿œsst. ..."
>>>> This means something like - the widget cannot obtain the focus,
>>>> because
>>>> it is not visible, not activated or it does not allow any focus.
>>>> I append an example which demostrates this issue.
>>>>
>>>> Kind regards
>>>> Christian
>
Re: JavaScript error in IE with M7 [message #136316 is a reply to message #136138] Tue, 16 June 2009 09:28 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2359
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Here is the bug:

280420: [Combo] JavaScript error in IE when using setSelection on an
invisible Combo
https://bugs.eclipse.org/bugs/show_bug.cgi?id=280420

Best,
Ivan

Loïc Bertholet wrote:
> Hi all,
>
> I have the same error when I set the selection of a hidden Combo (for
> example when it is in a Section or ExpandableComposite not expanded).
> Not matter if it is enabled or not, the javascript error page occurred.
>
> Should I re-open the bug #277444 or create a new one ?
> Thanks,
>
> Loïc
>
> Ivan Furnadjiev wrote:
>
>> Hi Markus,
>
>> the bug:
>> 277444: JavaScript error in IE when using setSelection on a
>> ComboViewer with setEnabled is false
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=277444
>> is fixed in CVS HEAD. Please check it with latest from CVS HEAD.
>
>> Best,
>> Ivan
>
>> "Markus" wrote:
>>> Hi,
>>> we also experianced that behavior. In out case it occured because
>>> somehow (not by our code) the combo viewer tries to get focus, and
>>> if it is
> disabled
>>> (setEnabled(false)) as done by our code, then this exception occurs
>>> and causes the complete kill of the app (need to do a refresh of the
>>> browser to get it work again). This also occurs on Widget Combo, not
>>> only ComboViewer.
>>> Regards,
>>> Markus
>>>
>>>
>>> "Christian" <christian.hoesel@gmx.de> schrieb im Newsbeitrag
>>> news:gv5mov$4aa$1@build.eclipse.org...
>>>
>>>> Hi everybody,
>>>>
>>>> since RAP 1.2 M7 I get a Javascript error in IE if I set the selection
>>>> of a ComboViewer which setEnabled flag was set to false. I tried FF
>>>> and
>>>> Safari which both work fine and do not show up this error.
>>>> Unfortunately
>>>> the error message is in german:
>>>> "Could not evaluate javascript response:
>>>> Das Steuerelement kann den Fokus nicht erhalten, da dieses unsichtbar
>>>> oder nicht aktiviert ist oder keinen Fokus zulï¿œsst. ..."
>>>> This means something like - the widget cannot obtain the focus,
>>>> because
>>>> it is not visible, not activated or it does not allow any focus.
>>>> I append an example which demostrates this issue.
>>>>
>>>> Kind regards
>>>> Christian
>
Re: JavaScript error in IE with M7 [message #136496 is a reply to message #136316] Tue, 16 June 2009 16:55 Go to previous message
Loïc Bertholet is currently offline Loïc BertholetFriend
Messages: 57
Registered: July 2009
Member
Thank you very much.

Loïc

Ivan Furnadjiev wrote:

> Here is the bug:

> 280420: [Combo] JavaScript error in IE when using setSelection on an
> invisible Combo
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=280420

> Best,
> Ivan
Previous Topic:Support for GEF in RAP
Next Topic:Graceful shutdown
Goto Forum:
  


Current Time: Mon Nov 29 14:59:54 GMT 2021

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

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

Back to the top