You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Rafael Sakurai <ra...@gmail.com> on 2007/02/01 17:49:01 UTC
h:inputTextarea + h:outputText
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
Re: h:inputTextarea + h:outputText
Posted by Rafael Sakurai <ra...@gmail.com>.
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 <ra...@gmail.com>:
>
> thank you.
>
> 2007/2/1, Andrew Robinson <an...@gmail.com>:
> >
> > <h:outputText value="#{user.name}" style="white-space: pre;"/>
> >
> > On 2/1/07, Rafael Sakurai <rafasakurai@gmail.com > 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
Re: h:inputTextarea + h:outputText
Posted by Rafael Sakurai <ra...@gmail.com>.
thank you.
2007/2/1, Andrew Robinson <an...@gmail.com>:
>
> <h:outputText value="#{user.name}" style="white-space: pre;"/>
>
> On 2/1/07, Rafael Sakurai <ra...@gmail.com> 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
Re: h:inputTextarea + h:outputText
Posted by Andrew Robinson <an...@gmail.com>.
<h:outputText value="#{user.name}" style="white-space: pre;"/>
On 2/1/07, Rafael Sakurai <ra...@gmail.com> 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
>