Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

CSS and JSF... Worth it?  RSS feed

 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everything on our webapp is positioned through CSS, how much trouble would it be to integrate JSF into such an enviroment?
 
Gregg Bolinger
Ranch Hand
Posts: 15304
6
Chrome IntelliJ IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No trouble. Just about every JSF component has a style and styleClass attribute to apply CSS. I use CSS extensively in all my webapps. Not so much for positioning but that isn't a problem if you go that route.

I've been meaning to go with CSS positioning rather than Tables for a while, but just can't get the time to make the switch. Maybe that is something you can help me with.
 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you once again for the help! If there is anything I can do to help I'll gladly volenteer a portion of my time to it. I obvoisly owe at least that to you by now.
 
Daniel Prene
Ranch Hand
Posts: 241
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To custom components inherit this functionality or do I need to impliment it myself?
 
Sergey Smirnov
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you develop your own components, you have to do some steps explicitly to pass those attributes through. Loot at the http://www.jsftutorials.net/components/step2.html for the example.

--
Sergey : http://jsfTutorials.net
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!