Reputation: 2318
I need to make TextArea Wicket read-only. Is it possible to do this?
Upvotes: 1
Views: 2734
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