You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@myfaces.apache.org by Madhav Bhargava <Ma...@infosys.com> on 2006/11/14 09:41:24 UTC

Wrap text

Hi All,



I have a panelGrid with 2 columns. A couple of questions:



1.	Can I fix the width of my columns? The other way round is to
nest panelGrid components and use the width attribute, but this is not
elegant. Since panelGrid generates a <table> component, more control
should be given as far as rows and columns are concerned.
2.	If I have <t:outputText> as one the columns in this panelGrid
then how can I wrap the text and prevent horizontal scroll?



I cannot use dataTable because the data is not present as a Collection.
Is there any other component which generates <table> and gives more
control on how the rows and columns are displayed?





Thanks,

madhav



**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***