| |||||||
FRAMES NO FRAMES |
Tag Information | |
Tag Class | org.apache.myfaces.custom.stylesheet.StylesheetTag |
TagExtraInfo Class | None |
Body Content | JSP |
Display Name | None |
Attributes | ||||
Name | Required | Request-time | Type | Description |
path | true | false | javax.el.ValueExpression
(must evaluate to java.lang.String )
| URL for CSS-file.
If this path starts with a slash, then the webapp context path will be prepended to it. This makes it simple to reference stylesheets at an absolute path within the webapp. A value like "/styles/style.css" becomes "/webappname/styles/style.css". If this path does not start with a slash, then it is output unaltered. This supports absolute urls ("http://host/path/style.css"). It also supports having css files relative to the current page ("style.css" or "styles/style.css") but this needs to be used with care as the standard JSF postback/internal-forward navigation style can cause browsers to use an inappropriate base url when resolving relative references. |
inline | false | false | javax.el.ValueExpression
(must evaluate to boolean )
| Inline the stylesheet file content as in contrast to referencing it as a link.
The file referenced by the path attribute is loaded, and its content is written to the page wrapped in an |