There is no chance for the LayoutManager on the server to know into how many
lines the browser will break a text. Html makes no difference between
lf, tab and space. If your application knows the needed height you can
set the layout by valuebinding e.g.:
rows="#{controller.textHeight};1*"
where controller.getTextHeight() returns somthing like
(lines * 16) + "px"
regards
volker
2006/10/15, Bernd Winter <[EMAIL PROTECTED]>:
> Maybe another little question: How is the "fixed" size determined? I had
> difficulties with the rendering of "out" elements with several lines of
> text and "textarea" elements with rows>1...
Ahh.... sorry. I just found this here
(http://myfaces.apache.org/tobago/faq.html#tobago/layout):
> In a 'fixed' row all one height unit high elements find their place
> (like buttons, input fields, one row of text...).
My guess was that "fixed" is the height of the component taking multiple
lines of text (e.g.) into account...
But is it then possible at all to have a simple n-line text output
rendered in a space just large (high) enough to display every single
line?? Or are certain container tricks necessary like nesting the n-line
"out" element in a specific fashion?