Hi, On Fri, Feb 22, 2008 at 2:46 PM, Renzo Tomaselli <[EMAIL PROTECTED]> wrote: > Hi all, perhaps a trivial question: I need to output a multiline text > field so that I have to choose the most suitable component. > Now, tr:outputText does not do the job - in spite of feeding > newline-separated text. > Thus I use tr:table and this works fine of course. But in case of many > lines I must page them through the usual data model, providing the table > navigation widget. > Not very friendly - simple vertical scrolling would be enough - although > skinning and banding are attractive. > At the same time I want to stay away from direct html encoding as a > matter of style, so I don't think tr:outputFormat would apply. > Although rather convoluted - even using tr:inputText rows="10" > readOnly="true" might do the job. Bad looking, though.
since the textarea (inputText rows>=2) is able to store things like: <textarea> Some text! Even more of this text... Some other text </textarea> using readOnly:true would be the thing I'd try. Not sure if the default style is nice enough for that. -M > Did I miss any other component to choose from? > > -- Renzo > > -- Matthias Wessendorf further stuff: blog: http://matthiaswessendorf.wordpress.com/ sessions: http://www.slideshare.net/mwessendorf mail: matzew-at-apache-dot-org

