Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » xwt browser
xwt browser [message #552799] Fri, 13 August 2010 10:48 Go to next message
Eclipse UserFriend
How can one create in xwt a browser widget to display html directly from code (not from url)?

This is not working:
<Composite xmlns="http://www.eclipse.org/xwt/presentation"
	xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
	xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
	<Composite.layout>
		<GridLayout numColumns="1" />
	</Composite.layout>

	<Browser text="<html><body>test</body></html>" x:style="SWT.NONE"></Browser>
</Composite>


Re: xwt browser [message #553785 is a reply to message #552799] Wed, 18 August 2010 16:52 Go to previous messageGo to next message
Eclipse UserFriend
Thanks for the report. It could be a bug. Please fill a case in bugzilla?

Best regards
Yves YANG
"FD" <dubfa@hotmail.com> wrote in message
news:i43m0f$uk8$1@build.eclipse.org...
> How can one create in xwt a browser widget to display html directly from
> code (not from url)?
>
> This is not working:
> <Composite xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
> xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
> <Composite.layout>
> <GridLayout numColumns="1" />
> </Composite.layout>
>
> <Browser text="<html><body>test</body></html>"
> x:style="SWT.NONE"></Browser>
> </Composite>
>
>
Re: xwt browser [message #553799 is a reply to message #552799] Wed, 18 August 2010 17:49 Go to previous messageGo to next message
Eclipse UserFriend
Here is the bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323089

yves
"FD" <dubfa@hotmail.com> wrote in message
news:i43m0f$uk8$1@build.eclipse.org...
> How can one create in xwt a browser widget to display html directly from
> code (not from url)?
>
> This is not working:
> <Composite xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
> xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
> <Composite.layout>
> <GridLayout numColumns="1" />
> </Composite.layout>
>
> <Browser text="<html><body>test</body></html>"
> x:style="SWT.NONE"></Browser>
> </Composite>
>
>
Re: xwt browser [message #553924 is a reply to message #552799] Thu, 19 August 2010 08:20 Go to previous messageGo to next message
Eclipse UserFriend
It is fixed in source base. The correction will be available in the next
release.

Best regards
Yves YANG
"FD" <dubfa@hotmail.com> wrote in message
news:i43m0f$uk8$1@build.eclipse.org...
> How can one create in xwt a browser widget to display html directly from
> code (not from url)?
>
> This is not working:
> <Composite xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
> xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
> <Composite.layout>
> <GridLayout numColumns="1" />
> </Composite.layout>
>
> <Browser text="<html><body>test</body></html>"
> x:style="SWT.NONE"></Browser>
> </Composite>
>
>
Re: xwt browser [message #553925 is a reply to message #553924] Thu, 19 August 2010 08:24 Go to previous messageGo to next message
Eclipse UserFriend
Am 19.08.10 14:20, schrieb Yves YANG:
> It is fixed in source base. The correction will be available in the
> next release.

probably better named I-Build :-)

Tom
Re: xwt browser [message #553927 is a reply to message #552799] Thu, 19 August 2010 08:45 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Smile
Re: xwt browser [message #554259 is a reply to message #553925] Fri, 20 August 2010 15:41 Go to previous messageGo to next message
Eclipse UserFriend
You are absolutely right!

yves
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:i4j7q3$lpr$1@build.eclipse.org...
> Am 19.08.10 14:20, schrieb Yves YANG:
>> It is fixed in source base. The correction will be available in the
>> next release.
>
> probably better named I-Build :-)
>
> Tom
Re: xwt browser [message #554265 is a reply to message #552799] Fri, 20 August 2010 16:18 Go to previous message
Eclipse UserFriend
Can xml attribute values contain xml?
I.e. that is invalid xml, isn't it?
Re: xwt browser [message #580953 is a reply to message #552799] Wed, 18 August 2010 16:52 Go to previous message
Eclipse UserFriend
Thanks for the report. It could be a bug. Please fill a case in bugzilla?

Best regards
Yves YANG
"FD" <dubfa@hotmail.com> wrote in message
news:i43m0f$uk8$1@build.eclipse.org...
> How can one create in xwt a browser widget to display html directly from
> code (not from url)?
>
> This is not working:
> <Composite xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
> xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
> <Composite.layout>
> <GridLayout numColumns="1" />
> </Composite.layout>
>
> <Browser text="<html><body>test</body></html>"
> x:style="SWT.NONE"></Browser>
> </Composite>
>
>
Re: xwt browser [message #580991 is a reply to message #552799] Wed, 18 August 2010 17:49 Go to previous message
Eclipse UserFriend
Here is the bug report:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=323089

yves
"FD" <dubfa@hotmail.com> wrote in message
news:i43m0f$uk8$1@build.eclipse.org...
> How can one create in xwt a browser widget to display html directly from
> code (not from url)?
>
> This is not working:
> <Composite xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
> xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
> <Composite.layout>
> <GridLayout numColumns="1" />
> </Composite.layout>
>
> <Browser text="<html><body>test</body></html>"
> x:style="SWT.NONE"></Browser>
> </Composite>
>
>
Re: xwt browser [message #581027 is a reply to message #552799] Thu, 19 August 2010 08:20 Go to previous message
Eclipse UserFriend
It is fixed in source base. The correction will be available in the next
release.

Best regards
Yves YANG
"FD" <dubfa@hotmail.com> wrote in message
news:i43m0f$uk8$1@build.eclipse.org...
> How can one create in xwt a browser widget to display html directly from
> code (not from url)?
>
> This is not working:
> <Composite xmlns="http://www.eclipse.org/xwt/presentation"
> xmlns:x="http://www.eclipse.org/xwt" xmlns:c="clr-namespace:testxwt"
> xmlns:j="clr-namespace:java.lang" x:Class="testxwt.Browser">
> <Composite.layout>
> <GridLayout numColumns="1" />
> </Composite.layout>
>
> <Browser text="<html><body>test</body></html>"
> x:style="SWT.NONE"></Browser>
> </Composite>
>
>
Re: xwt browser [message #581043 is a reply to message #553924] Thu, 19 August 2010 08:24 Go to previous message
Eclipse UserFriend
Am 19.08.10 14:20, schrieb Yves YANG:
> It is fixed in source base. The correction will be available in the
> next release.

probably better named I-Build :-)

Tom
Re: xwt browser [message #581054 is a reply to message #552799] Thu, 19 August 2010 08:45 Go to previous message
Eclipse UserFriend
Thanks :)
Re: xwt browser [message #581095 is a reply to message #553925] Fri, 20 August 2010 15:41 Go to previous message
Eclipse UserFriend
You are absolutely right!

yves
"Tom Schindl" <tom.schindl@bestsolution.at> wrote in message
news:i4j7q3$lpr$1@build.eclipse.org...
> Am 19.08.10 14:20, schrieb Yves YANG:
>> It is fixed in source base. The correction will be available in the
>> next release.
>
> probably better named I-Build :-)
>
> Tom
Re: xwt browser [message #581131 is a reply to message #552799] Fri, 20 August 2010 16:18 Go to previous message
Eclipse UserFriend
Can xml attribute values contain xml?
I.e. that is invalid xml, isn't it?
Previous Topic:How to add custom widgets to XWT designer palette
Next Topic:data binding
Goto Forum:
  


Current Time: Tue Jul 01 10:01:22 EDT 2025

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

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

Back to the top