Forums Register Login

Problem with CSS

+Pie Number of slices to send: Send
Hello,

I am new to JSF, and spent serveral days on an issue with it. I am working on a JSF page which uses a template. This template already have CSS rules defined. Now I want to add new rules for my new page (particularly, some classes to use with columnClasses attrib of a dataTable), but I dont have control of the template and its asscociated CSS file, because it is from a jar library.
Could you show me how to work around this?

My new JSF has this:
<ui:composition template="../../templates/standard.xhtml">
<ui:define name="title">Users Maint</ui:define>

<ui:define name="main">
<<main content goes here>>
</ui:define>

</ui:composition>

Part of standard.xhmtl:
<head>
<title>System Administration</title>
<link rel="stylesheet" type="text/css"
href="#{facesContext.externalContext.requestContextPath}/css/standard.css" />
</head>

<body">
...
<rich:panel styleClass="display-view">
<ui:insert name="main" />
</rich:panel>
...

Any help would be very appreciated.
-dan
Watchya got in that poodle gun? Anything for me? Or this tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1342 times.
Similar Threads
Facelets and JSF
Bug in chrome
HTML generated by backing bean
Help Needed For JSF FACELET RENDERING PROBLEM
forms authentication (j_security_check) with JSF
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 03:38:40.