0 Replies Latest reply on Dec 14, 2008 6:41 AM by aditya bora

    Convert richfaces string to HTML component

    aditya bora Newbie

      Hello everybody

      I am developing an application using Seam framework, where i need to create HTML as well as richfaces components dynamically and that too from a string. So can anyone tell me the way to convert rich string to HTML component from server side? I was able to create HTML components, but failed for richfaces components.

      This is how i've got success for HTML components

      String myHtmlString = " ....";
      HtmlOutputText text = new HtmlOutputText();
      text.setEscape(false);
      text.setValue(myHtmlString);

      String myRichString = "<rich:panel> ... </rich:panel>";
      ??????

      Waiting for help...

      Thankx in advance
      Aditya(Eddie)