• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

inputTextArea

 
Dura Hurtado
Ranch Hand
Posts: 120
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi could anyone tell what way save the text which I in a textArea?

Thanks
 
Tim Holloway
Saloon Keeper
Pie
Posts: 18154
52
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic