I am using JSF2.0 and I have an inputTextArea component and want to prevent the enduser from resizing it.How can I do it.I tried resize="false" but it is not accepting.
相关问题
- java.lang.NullPointerException at java.io.PrintWri
- java.lang.NullPointerException at java.io.PrintWri
- h:selectOneMenu in p:dataTable doesn't submit
- h:selectOneMenu in p:dataTable doesn't submit
- PrimeFaces block UI does not work when the compone
相关文章
- How to allow numbers only using f:validateRegex
- JSF 2.0: ajax request when press ENTER
- Formatting a double in JSF
- Add a scrollbar to a <textarea> [duplicate]
- How to count words in a textarea by jquery and ret
- New lines in text within a div
- How to override primefaces component api class wit
- f:convertNumber on Double: ClassCastException
This is to be achieved using the CSS
resize
property which needs to be set tonone
.E.g.
or, better,
with this in a fullworthy CSS file
The same story applies to the PrimeFaces equivalent
<p:inputTextarea>
. You wasn't exactly clear on which one you were using. Your question title and body implied standard JSF, but you tagged PrimeFaces.