h:outputLabel

Hi, I want to display the text in lines, I have full string with separated with "\n", but h:outputLabel is igonoring and displaying in single line.any idea ?ThanksSrikanth
[199 byte] By [srikanthga] at [2007-11-27 3:43:00]
# 1
Put the outputLabel tags insida a panelGrid with only one column
alexandre_correaa at 2007-7-12 8:46:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
No use, still it displaying in single line. <h:panelGrid columns="1"><h:outputLabel value="#{surveyList.questionDesc}"/></h:panelGrid>ThanksSrikanth
srikanthga at 2007-7-12 8:46:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
[nobr]Sorry, I've misunderstood your question:You'll need to substitute alln \n for [code][/n], and then use the attribute escape=false into the h:outputText.Regards,Alexandre[/nobr]
alexandre_correaa at 2007-7-12 8:46:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 4
Thanks Alexandre , its working with , ThanksSrikanth
srikanthga at 2007-7-12 8:46:38 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...