• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

CSS in JSF

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

just want to know if it is advisable to mix up CSS to my JSF file? or its not a big deal not to use some JSF html custom tag library?
It seems other CSS has no effecgt to some JSF html custom tag like the <h:commandButton>.
But for the <h:outputText> it's fine.

Thanks.
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Nelson Nadal wrote:Hi,

just want to know if it is advisable to mix up CSS to my JSF file? or its not a big deal not to use some JSF html custom tag library?
It seems other CSS has no effecgt to some JSF html custom tag like the <h:commandButton>.
But for the <h:outputText> it's fine.

Thanks.


JSF generates HTML.
CSS applies on HTML only.
So whenever CSS fails, you need to verify it against the generated HTML, not the actual JSF component --this makes no sense.

Regarding to your actual problem, you may have more luck if you extract the generated HTML in question, create a small testset with only pure HTML and CSS and base your troubleshooting on that further.
 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
yes you're right, this is only matter of testing or familiriazation of generated html by JSF custom tag.
Thanks again.
 
reply
    Bookmark Topic Watch Topic
  • New Topic