0 Replies Latest reply: Nov 18, 2011 11:56 PM by HDGeek RSS

    Dynamically expandable inputText

      I have an af:inputText component on my .jspx page with a readOnly="true" attribute. I am displaying some text in this component using it's value attribute. Is there a way to set this component to grow and shrink according to the text being displayed? And, set a maximum number of rows so it can't take over the entire page if the text happens to be extremely long? Or, is there another component I should be using? I realize there is a scroll bar that will appear if the text is longer than the number of rows the component is set to, but I prefer not to have the scroll bar unless the text is extremely long.