File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSF and the fly likes How to allgin text  in JSF application? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "How to allgin text  in JSF application?" Watch "How to allgin text  in JSF application?" New topic
Author

How to allgin text in JSF application?

Saravanakumar Gurusamy
Greenhorn

Joined: Jan 31, 2007
Posts: 5
How to allgin text in JSF application?
Krishna Srinivasan
Ranch Hand

Joined: Jul 28, 2003
Posts: 1844

use this tag for printing normal text or html tags
<f:verbatim></f:verbatim>


Krishna Srinivasan
Spring Tutorials, OCAJP Mock Questions, 400+ OCPJP Mock Questions
Edisandro Bessa
Ranch Hand

Joined: Jan 19, 2006
Posts: 584
Depending on tag you use, look for a property called "align" and set its value with "left","center" or "right"

You can also use the "style" property (if your components has this property of course). Example. style="text-align:left".


"If someone asks you to do something you don't know how to, don't tell I don't know, tell I can learn instead." - Myself
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to allgin text in JSF application?