I tried it for 2 hours . i gave up . I have to use JSF . I hate it !
+1
A:
You can use the usual suspects: <script>
and <style>
. Depending on your JSF version, you may need to wrap them in a <f:verbatim>
tag.
Drew
2009-07-02 13:32:35
A:
Heres how I do it:
<f:view>
<html>
<head>
<link rel="stylesheet" href="./style.css" />
</head>
<body>
<h:outputText value="Test style" style="background-color: red;" />
<h:outputText value="Test style class" styleClass="testClass" />
</body>
</html>
</f:view>
ChrisAD
2009-07-05 18:42:33