Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Rendering HTML Table in Eclipse FormText Control(Rendering HTML Table in Eclipse FormText Control)
Rendering HTML Table in Eclipse FormText Control [message #521613] Thu, 18 March 2010 10:08
raga  is currently offline raga Friend
Messages: 6
Registered: March 2010
Junior Member
Hi,
I have a FormText Control in my Eclipse View for rendering text with HTML tags. I have made use of <b>,<span>,...within <p> or <li>, thus embedding the entire text within <form> tag.

However when I try to draw an HTML table using formtext control, the table is not rendered unlike the other HTML Tags. This is the snippet I have for rendering the table.

<form><table><tr><th>name</th></tr><tr><td>Alex</td ></tr></table></form>

On further investigation I tried out the following :

1.Added namespace to <table> tag:
i)<table xmlns="http://www.w3.org/TR/html4/"><tr><th>Alex</th></tr></table>

ii)<h:table xmlns:h="http://www.w3.org/TR/html4/">
<h:tr>
<h:td>Apples</h:td>
<h:td>Bananas</h:td>
</h:tr>
</h:table>

But none of the above worked out.
Clarifications:
~~~~~~~~~~~
1.Is HTML Table Rendering supported in FormText Control? If so,can you give me pointers for some samples.
If it is not supported,are there any alternate solutions?
2.Also, is there any site where I can look for the complete list of HTML Tags that can be rendered using FormText Control.

Thanks in advance,
Raga
Previous Topic:How do I create a new Launch Configuration Tab?
Next Topic:Link with target="_blank" not working with MOZILLA
Goto Forum:
  


Current Time: Sun Dec 08 00:20:33 GMT 2024

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

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

Back to the top