You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by ni...@idra-spa.it on 2006/04/23 18:46:26 UTC
inputTextArea and include page
Hello !
I need to include a text into a textarea and I wrote this code (not working):
<h:panelGrid columns="1" align="center">
<h:outputText styleClass="textTitle" value="my Title" />
<h:inputTextarea styleClass="TextArea">
<jsp:include page="/custom/myTexts/mytext.txt" />
</h:inputTextarea>
</h:panelGrid>
But no text is included from the mytext.txt file. The path is correct.
Where do I get wrong, please ?
Thank you,
Nico
--------------------------------------------------------
This message was sent using www.myidra.it. Idra Spa 2004
Re: inputTextArea and include page
Posted by Matthias Wessendorf <ma...@apache.org>.
Are there any reasons, why you are not using value attribute, like
<h:inputTextarea ... value="#{mySpecialBean.textForTheTextarea}"
-Matthias
On 4/23/06, nicola.benaglia@idra-spa.it <ni...@idra-spa.it> wrote:
>
> Hello !
> I need to include a text into a textarea and I wrote this code (not working):
>
> <h:panelGrid columns="1" align="center">
> <h:outputText styleClass="textTitle" value="my Title" />
> <h:inputTextarea styleClass="TextArea">
> <jsp:include page="/custom/myTexts/mytext.txt" />
> </h:inputTextarea>
> </h:panelGrid>
>
> But no text is included from the mytext.txt file. The path is correct.
> Where do I get wrong, please ?
>
> Thank you,
> Nico
>
> --------------------------------------------------------
> This message was sent using www.myidra.it. Idra Spa 2004
>
--
Matthias Wessendorf
Aechterhoek 18
48282 Emsdetten
http://jroller.com/page/mwessendorf
mwessendorf-at-gmail-dot-com