Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323089

Summary: The attribute text of Browser has no effect
Product: [Technology] XWT Reporter: Yves YANG <yves.yang>
Component: CoreAssignee: Project Inbox <e4.xwt-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Yves YANG CLA 2010-08-18 17:49:09 EDT
A report in e4 newsgroup:
http://www.eclipse.org/forums/index.php?t=msg&th=173683&start=0&S=90cd75b5e3108be15640cfd73c70dd85

-------------------------------------------------
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>
Comment 1 Yves YANG CLA 2010-08-18 17:52:09 EDT
The fix is committed -> 20100818