Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » JFace » Rendering HTML Table in Eclipse FormText Control(Rendering HTML Table in Eclipse FormText Control)
Rendering HTML Table in Eclipse FormText Control [message #521611] Thu, 18 March 2010 06:06
raga  is currently offline raga
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:Problems with Frame toolkit
Next Topic:API Breakage(-ish) in 3.6 M6 ?
Goto Forum:
  


Current Time: Mon Jul 28 12:31:39 EDT 2014

Powered by FUDForum. Page generated in 0.07202 seconds