Home » Eclipse Projects » Remote Application Platform (RAP) » Text widget in ToolBar
|
Re: Text widget in ToolBar [message #527269 is a reply to message #527250] |
Wed, 14 April 2010 15:21 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Niels,
just checked your snippet in IE 8 and FF 3.6.3 (CVS HEAD) and it works
without errors. What RAP version are you using?
Best,
Ivan
On 04/14/2010 5:49 PM, Niels Lippke wrote:
> Hello,
>
> With the snippet below I place a text widget in a toolbar. But upon
> typing in text I get JS errors like
>
> Fehler: this._hoverItem._onKeyDown is not a function
> Quelldatei:
> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>
> Zeile: 355
> Fehler: this._hoverItem._onKeyUp is not a function
> Quelldatei:
> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>
> Zeile: 355
>
> Are text widgets in toolbars not allowed?!?
>
> Snippet:
>
> public void createPartControl(Composite parent) {
> parent.setLayout(new RowLayout());
> ToolBar b = new ToolBar(parent, SWT.BORDER);
> ToolItem ti1 = new ToolItem(b, SWT.PUSH);
> ti1.setText("Item 1");
> ToolItem ti2 = new ToolItem(b, SWT.SEPARATOR);
> Text text = new Text(b, SWT.BORDER);
> text.setText("Item 2");
> ti2.setControl(text);
> ti2.setWidth(100);
> b.pack();
> }
>
>
> Regards, Niels
|
|
|
Re: Text widget in ToolBar [message #527270 is a reply to message #527269] |
Wed, 14 April 2010 15:37 |
Niels Lippke Messages: 71 Registered: December 2009 |
Member |
|
|
Hi,
this time I did a CVS HEAD update before posting. And I just updated again.
Still those errors (IE8, FF3.6).
If I use a CCombo instead of Text, everything is fine.
Regards,
Niels
"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:hq4mh1$hmt$1@build.eclipse.org...
> Hi Niels,
>
> just checked your snippet in IE 8 and FF 3.6.3 (CVS HEAD) and it works
> without errors. What RAP version are you using?
>
> Best,
> Ivan
>
> On 04/14/2010 5:49 PM, Niels Lippke wrote:
>> Hello,
>>
>> With the snippet below I place a text widget in a toolbar. But upon
>> typing in text I get JS errors like
>>
>> Fehler: this._hoverItem._onKeyDown is not a function
>> Quelldatei:
>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>> Zeile: 355
>> Fehler: this._hoverItem._onKeyUp is not a function
>> Quelldatei:
>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>> Zeile: 355
>>
>> Are text widgets in toolbars not allowed?!?
>>
>> Snippet:
>>
>> public void createPartControl(Composite parent) {
>> parent.setLayout(new RowLayout());
>> ToolBar b = new ToolBar(parent, SWT.BORDER);
>> ToolItem ti1 = new ToolItem(b, SWT.PUSH);
>> ti1.setText("Item 1");
>> ToolItem ti2 = new ToolItem(b, SWT.SEPARATOR);
>> Text text = new Text(b, SWT.BORDER);
>> text.setText("Item 2");
>> ti2.setControl(text);
>> ti2.setWidth(100);
>> b.pack();
>> }
>>
>>
>> Regards, Niels
|
|
|
Re: Text widget in ToolBar [message #527291 is a reply to message #527270] |
Wed, 14 April 2010 16:37 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
Hi Niels,
I've managed to reproduce it. Please file a bugzilla to keep track on
this issue.
TIA,
Ivan
On 04/14/2010 6:37 PM, Niels Lippke wrote:
> Hi,
>
> this time I did a CVS HEAD update before posting. And I just updated
> again. Still those errors (IE8, FF3.6).
>
> If I use a CCombo instead of Text, everything is fine.
>
> Regards,
> Niels
>
> "Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
> news:hq4mh1$hmt$1@build.eclipse.org...
>> Hi Niels,
>>
>> just checked your snippet in IE 8 and FF 3.6.3 (CVS HEAD) and it
>> works without errors. What RAP version are you using?
>>
>> Best,
>> Ivan
>>
>> On 04/14/2010 5:49 PM, Niels Lippke wrote:
>>> Hello,
>>>
>>> With the snippet below I place a text widget in a toolbar. But upon
>>> typing in text I get JS errors like
>>>
>>> Fehler: this._hoverItem._onKeyDown is not a function
>>> Quelldatei:
>>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>>>
>>> Zeile: 355
>>> Fehler: this._hoverItem._onKeyUp is not a function
>>> Quelldatei:
>>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>>>
>>> Zeile: 355
>>>
>>> Are text widgets in toolbars not allowed?!?
>>>
>>> Snippet:
>>>
>>> public void createPartControl(Composite parent) {
>>> parent.setLayout(new RowLayout());
>>> ToolBar b = new ToolBar(parent, SWT.BORDER);
>>> ToolItem ti1 = new ToolItem(b, SWT.PUSH);
>>> ti1.setText("Item 1");
>>> ToolItem ti2 = new ToolItem(b, SWT.SEPARATOR);
>>> Text text = new Text(b, SWT.BORDER);
>>> text.setText("Item 2");
>>> ti2.setControl(text);
>>> ti2.setWidth(100);
>>> b.pack();
>>> }
>>>
>>>
>>> Regards, Niels
>
|
|
|
Re: Text widget in ToolBar [message #527397 is a reply to message #527270] |
Thu, 15 April 2010 06:48 |
Ivan Furnadjiev Messages: 2427 Registered: July 2009 Location: Sofia, Bulgaria |
Senior Member |
|
|
I filled a bug for you:
309263: [ToolBar] Javascript error when using Text widget in the toolbar
https://bugs.eclipse.org/bugs/show_bug.cgi?id=309263
Best,
Ivan
On 04/14/2010 6:37 PM, Niels Lippke wrote:
> Hi,
>
> this time I did a CVS HEAD update before posting. And I just updated
> again. Still those errors (IE8, FF3.6).
>
> If I use a CCombo instead of Text, everything is fine.
>
> Regards,
> Niels
>
> "Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
> news:hq4mh1$hmt$1@build.eclipse.org...
>> Hi Niels,
>>
>> just checked your snippet in IE 8 and FF 3.6.3 (CVS HEAD) and it
>> works without errors. What RAP version are you using?
>>
>> Best,
>> Ivan
>>
>> On 04/14/2010 5:49 PM, Niels Lippke wrote:
>>> Hello,
>>>
>>> With the snippet below I place a text widget in a toolbar. But upon
>>> typing in text I get JS errors like
>>>
>>> Fehler: this._hoverItem._onKeyDown is not a function
>>> Quelldatei:
>>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>>>
>>> Zeile: 355
>>> Fehler: this._hoverItem._onKeyUp is not a function
>>> Quelldatei:
>>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>>>
>>> Zeile: 355
>>>
>>> Are text widgets in toolbars not allowed?!?
>>>
>>> Snippet:
>>>
>>> public void createPartControl(Composite parent) {
>>> parent.setLayout(new RowLayout());
>>> ToolBar b = new ToolBar(parent, SWT.BORDER);
>>> ToolItem ti1 = new ToolItem(b, SWT.PUSH);
>>> ti1.setText("Item 1");
>>> ToolItem ti2 = new ToolItem(b, SWT.SEPARATOR);
>>> Text text = new Text(b, SWT.BORDER);
>>> text.setText("Item 2");
>>> ti2.setControl(text);
>>> ti2.setWidth(100);
>>> b.pack();
>>> }
>>>
>>>
>>> Regards, Niels
>
|
|
|
Re: Text widget in ToolBar [message #527398 is a reply to message #527397] |
Thu, 15 April 2010 06:57 |
Niels Lippke Messages: 71 Registered: December 2009 |
Member |
|
|
Thanks Ivan,
didn't manage to file a bug, yesterday.
Regards,
Niels
"Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
news:hq6csn$i32$1@build.eclipse.org...
>I filled a bug for you:
>
> 309263: [ToolBar] Javascript error when using Text widget in the toolbar
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=309263
>
> Best,
> Ivan
>
> On 04/14/2010 6:37 PM, Niels Lippke wrote:
>> Hi,
>>
>> this time I did a CVS HEAD update before posting. And I just updated
>> again. Still those errors (IE8, FF3.6).
>>
>> If I use a CCombo instead of Text, everything is fine.
>>
>> Regards,
>> Niels
>>
>> "Ivan Furnadjiev" <ivan@eclipsesource.com> schrieb im Newsbeitrag
>> news:hq4mh1$hmt$1@build.eclipse.org...
>>> Hi Niels,
>>>
>>> just checked your snippet in IE 8 and FF 3.6.3 (CVS HEAD) and it works
>>> without errors. What RAP version are you using?
>>>
>>> Best,
>>> Ivan
>>>
>>> On 04/14/2010 5:49 PM, Niels Lippke wrote:
>>>> Hello,
>>>>
>>>> With the snippet below I place a text widget in a toolbar. But upon
>>>> typing in text I get JS errors like
>>>>
>>>> Fehler: this._hoverItem._onKeyDown is not a function
>>>> Quelldatei:
>>>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>>>> Zeile: 355
>>>> Fehler: this._hoverItem._onKeyUp is not a function
>>>> Quelldatei:
>>>> http://localhost:10080/rap?custom_service_handler=org.eclips e.rwt.internal.service.JSLibraryServiceHandler&hash=H-13 38003700
>>>> Zeile: 355
>>>>
>>>> Are text widgets in toolbars not allowed?!?
>>>>
>>>> Snippet:
>>>>
>>>> public void createPartControl(Composite parent) {
>>>> parent.setLayout(new RowLayout());
>>>> ToolBar b = new ToolBar(parent, SWT.BORDER);
>>>> ToolItem ti1 = new ToolItem(b, SWT.PUSH);
>>>> ti1.setText("Item 1");
>>>> ToolItem ti2 = new ToolItem(b, SWT.SEPARATOR);
>>>> Text text = new Text(b, SWT.BORDER);
>>>> text.setText("Item 2");
>>>> ti2.setControl(text);
>>>> ti2.setWidth(100);
>>>> b.pack();
>>>> }
>>>>
>>>>
>>>> Regards, Niels
>>
|
|
|
Goto Forum:
Current Time: Sat Oct 12 04:34:36 GMT 2024
Powered by FUDForum. Page generated in 0.09315 seconds
|