Rendering HTML Table in Eclipse FormText Control [message #521613] |
Thu, 18 March 2010 10:08 |
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
|
|
|
Powered by
FUDForum. Page generated in 0.05929 seconds