What do you mean "render like this anyways" - is it stripping out the HTML completely? If so, you might try using <c:out xmlEscape="false"/> or an equivalent JSF tag.
Matt On 8/6/07, sionsmith <[EMAIL PROTECTED]> wrote: > > Hi Mat - i cant do that as the string is actually much longer : > "Some text will go here < br /> followed by some < b > bold text below < / > b > > > Any other ideas? > > Why does it render it like this anyways? > > cheers > > > mraible wrote: > > > > How about? > > > > Test String = #{javaBean.testString} > > > > Matt > > > > On 8/6/07, sionsmith <[EMAIL PROTECTED]> wrote: > >> > >> Hi everyone - not sure how easy this will be to solve but i've run out of > >> ideas - here goes: > >> > >> I'm using JSF / Facelets with appfuse and i'm trying to output a string > >> which contains HTML init - however the HTML is not being rendered & just > >> printed to the screen as its normal text it e.g. > >> > >> ========= Java bean ======== > >> String testString = "Bold Text"; > >> > >> //has normal getters & setters > >> > >> ========= page.xhtml ======= > >> Test String = #{javaBean.testString} > >> > >> ========= Page output ====== > >> Test String = Bold Text > >> > >> The aim is to output this as HTML - i.e. "Bold Text" in bold. Any one > >> have > >> any ideas??? > >> > >> cheers again > >> > >> -- > >> View this message in context: > >> http://www.nabble.com/Simple-HTML-Display-Question-tf4224959s2369.html#a12018817 > >> Sent from the AppFuse - User mailing list archive at Nabble.com. > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > http://raibledesigns.com > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > -- > View this message in context: > http://www.nabble.com/Simple-HTML-Display-Question-tf4224959s2369.html#a12019607 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]