Best
Best

Reputation: 2318

Make TextArea Wicket non-editable

I need to make TextArea Wicket read-only. Is it possible to do this?

Upvotes: 1

Views: 2734

Answers (1)

Xavi López
Xavi López

Reputation: 27880

Why not just output the readonly attribute in the <textarea>, like in this fiddle?

If you need to do this inconditionally, just type it in your HTML, if it is conditional, add a SimpleAttributeModifier to the TextArea.

Upvotes: 3

Related Questions