File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSF and the fly likes inputTextArea Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "inputTextArea" Watch "inputTextArea" New topic


Dura Hurtado
Ranch Hand

Joined: Feb 16, 2011
Posts: 120
Hi could anyone tell what way save the text which I in a textArea?

Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17417

I don't understand. An inputTextArea control should reference a text (String) property in a backing bean via its "value=" attribute. As long as the form submit passed validation, the property's "set" method will be invoked to automatically update the text in the backing bean.

If you're looking for something like HTML formatting, inputTextArea is based on the HTML TEXTAREA control, which doesn't support rich text formats. For that you'd need a specialized feature such as the RichFaces editor control, instead.

An IDE is no substitute for an Intelligent Developer.
I agree. Here's the link:
subject: inputTextArea
It's not a secret anymore!