my dog learned polymorphism*
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "inputTextArea" Watch "inputTextArea" New topic
Author

inputTextArea

Dura Hurtado
Ranch Hand

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

Thanks
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16020
    
  20

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inputTextArea