Hi,
I have another problem using this style="white-space: pre;"
<h:panelGrid columns="1" width="450" border="0" cellspacing="0"
cellpadding="0">
<h:outputText value="#{user.name}" style="white-space: pre;"/>
</h:panelGrid>
When i have a big sentence, the outputText don't use the width="450" of
panelGrid and disorder my page.
Someone know how correct this ?
Thank you
2007/2/1, Rafael Sakurai <[EMAIL PROTECTED]>:
thank you.
2007/2/1, Andrew Robinson <[EMAIL PROTECTED]>:
>
> <h:outputText value="#{user.name}" style="white-space: pre;"/>
>
> On 2/1/07, Rafael Sakurai <[EMAIL PROTECTED] > wrote:
> > Hi all,
> >
> > I have a textarea:
> > <h:inputTextarea value="#{user.name}" id="name" rows="10"/>
> >
> > and a digit this sentence in this textarea:
> > Hello
> > Word
> > !!!
> >
> > in other jsp, i get this value in a outputText:
> > <h:outputText value="#{user.name}"/>
> >
> > but the outputText print this:
> > HelloWord!!!
> >
> > Somebody know how print in outputText:
> > Hello
> > Word
> > !!!
> >
> > Thank's
> >
>
--
Rafael GuimarĂ£es Sakurai
http://rafaelsakurai.blogspot.com
--
Rafael GuimarĂ£es Sakurai
http://rafaelsakurai.blogspot.com