This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
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

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
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: 17142

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
jQuery in Action, 3rd edition