On the <h:outputText /> tag there is an "escape" attribute. This escapes the String to be literally viewable in a browser. Set "escape" to false and it will render real HTML code.
On Thu, 6 Jan 2005 17:05:15 -0500, Sonia Garavito <[EMAIL PROTECTED]> wrote: > greetings > actually i'm writing a code where do i need to render an attribute > from a backing bean that throws a string with html tags > > //backinbean > public class Bean { > ... > private String page1 ="<table><tr><td>hello</td></tr></table>"; > ... > public String getPage1(){ > return page1; > } > > //my page jsf > > <h:form id="coordinateForm" > > <f:verbatim escape="true"> > <h:outputText id="pageLabel" value="#{bean.page1}"/> > </f:verbatim> > </h:form> > > and the output I got is the code html is: > <table><tr><td>hello</td></tr></table> > I need to get this code rendered correctly, as a table with one row > one column and the word hello. > > i'll apreciate any help > thanks > Sonia Garavito > -- -Heath Borders-Wing [EMAIL PROTECTED]