You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Renzo Tomaselli <re...@tecnotp.it> on 2008/02/22 14:30:45 UTC
[Trinidad] the most suitable component for multiline output text
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 look, though.
Did I miss any other component to choose from?
-- Renzo