Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » xwt browser
xwt browser [message #552799] Fri, 13 August 2010 14:48 Go to next message
FD  is currently offline FD Friend
Messages: 15
Registered: August 2010
Junior Member
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 20:52 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 21:49 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 12:20 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 12:24 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 12:45 Go to previous messageGo to next message
FD  is currently offline FD Friend
Messages: 15
Registered: August 2010
Junior Member
Thanks Smile
Re: xwt browser [message #554259 is a reply to message #553925] Fri, 20 August 2010 19:41 Go to previous messageGo to next message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 20:18 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
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 20:52 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 21:49 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 12:20 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 12:24 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
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 12:45 Go to previous message
FD  is currently offline FD Friend
Messages: 15
Registered: August 2010
Junior Member
Thanks :)
Re: xwt browser [message #581095 is a reply to message #553925] Fri, 20 August 2010 19:41 Go to previous message
Yves YANG is currently offline Yves YANGFriend
Messages: 688
Registered: July 2009
Senior Member
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 20:18 Go to previous message
Erdal Karaca is currently offline Erdal KaracaFriend
Messages: 854
Registered: July 2009
Senior Member
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: Fri Apr 19 06:35:07 GMT 2024

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

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

Back to the top