Convert HTML string to HTML component
843844Dec 12 2008 — edited Dec 15 2008Hello everybody
I am developing an application using JBOSS Seam framework, where i need to create HTML as well as JSF controls dynamically and that too from a string. So can anyone tell me the way to convert HTML/JSF string to HTML component from server side.
String htmlString = "<table > ... </table>";
//let say
HtmlComponent htmlComponent = SomeConverter.parseStringToHtml(htmlString);
Thankx in advance
Aditya(Eddie)