Win a copy of GANs in ActionE this week in the AI forum
or WebAssembly in Action in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

inserting html tag directly into JSF xhtml pages

 
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am trying to insert some html tag like the following into a primefaces xhtml page but it does not display on the output with the other primefaces tags





This uses a css3 tags to rotate the text 90 degrees so I can have a word next to my graph that is vertical. Apparently jsf strips out the html tags.

Anybody ever tried this? How do you put in formatting to make the xhtml pages pretty and not plain, any suggestions? I already have the theme support but it still is pretty rough look.
 
Tim Resh
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I got it working. Vertical text within a row/column on a panelgrid. here's how;

1) put the above style text in a file called verticalStyle.css and then use

at the top of your xhtml file.

2) use the following to display text 90 degree clockwise


You will have to do some changes to any other fields or output as this will overlay the output without regards for height of the field.

Hope this makes sense
 
Time is the best teacher, but unfortunately, it kills all of its students - Robin Williams. tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!