| com.sun.rave.web.ui.component.ThemeLinksBase
All known Subclasses: com.sun.rave.web.ui.component.ThemeLinks,
ThemeLinksBase | abstract public class ThemeLinksBase extends javax.faces.component.UIComponentBase (Code) | | Use this tag to render references to theme resource files on a
page where the ui:head component cannot be used.
Configuring the ui:themeLinks Tag
If no attributes are specified, the component renders a
link to the CSS stylesheet class(es) and a
script element with a reference to the JavaScript
functions definition file required by the Sun Java Web UI
Components.
To suppress rendering of the script element, set the
javaScript attribute value to false.
To suppress rendering of the link element, set the
styleSheet attribute value to false.
To render a style element with an inline import of the stylesheet
definitions, set the
styleSheetInline attribute value to true.
Example
<head>
<title>ThemeLinks test</title>
<ui:themeLinks styleSheetInline="true"/>
</head>
Auto-generated component class.
Do NOT modify; all changes
will be lost!
|
Method Summary | |
public String | getFamily() Return the identifier of the component family to which this
component belongs. | public boolean | isJavaScript() If the javaScript attribute is true, a script
element with a reference to the JavaScript file that defines the
client side behaviour of the Sun Java Web UI Components is
rendered. | public boolean | isStyleSheet() If the styleSheet attribute is true, a link
element with a reference to the CSS stylesheet that defines the
appearance of the Sun Java Web UI Components is
rendered. | public boolean | isStyleSheetInline() If the styleSheetInline attribute is true, the
stylesheet that defines the appearance of the Sun Java Web UI
Components is rendered inline. | public void | restoreState(FacesContext _context, Object _state) | public Object | saveState(FacesContext _context) | public void | setJavaScript(boolean javaScript) If the javaScript attribute is true, a script
element with a reference to the JavaScript file that defines the
client side behaviour of the Sun Java Web UI Components is
rendered. | public void | setStyleSheet(boolean styleSheet) If the styleSheet attribute is true, a link
element with a reference to the CSS stylesheet that defines the
appearance of the Sun Java Web UI Components is
rendered. | public void | setStyleSheetInline(boolean styleSheetInline) If the styleSheetInline attribute is true, the
stylesheet that defines the appearance of the Sun Java Web UI
Components is rendered inline. |
ThemeLinksBase | public ThemeLinksBase()(Code) | | Construct a new ThemeLinksBase .
|
getFamily | public String getFamily()(Code) | | Return the identifier of the component family to which this
component belongs. This identifier, in conjunction with the value
of the rendererType property, may be used to select
the appropriate
Renderer for this component instance.
|
isJavaScript | public boolean isJavaScript()(Code) | | If the javaScript attribute is true, a script
element with a reference to the JavaScript file that defines the
client side behaviour of the Sun Java Web UI Components is
rendered. The default value is true. This component is primarily
intended for portlet
environments. In a web application, this functionality is
automatically provided by the ui:head
component.
|
isStyleSheet | public boolean isStyleSheet()(Code) | | If the styleSheet attribute is true, a link
element with a reference to the CSS stylesheet that defines the
appearance of the Sun Java Web UI Components is
rendered. The default value is true.
This component is primarily intended for portlet
environments. In a web application, this functionality is
automatically provided by the ui:head
component.
|
isStyleSheetInline | public boolean isStyleSheetInline()(Code) | | If the styleSheetInline attribute is true, the
stylesheet that defines the appearance of the Sun Java Web UI
Components is rendered inline. The default value is true.
This component is primarily
intended for portlet environments. In a web application, this
functionality is automatically provided by the
ui:head component.
|
restoreState | public void restoreState(FacesContext _context, Object _state)(Code) | | Restore the state of this component.
|
saveState | public Object saveState(FacesContext _context)(Code) | | Save the state of this component.
|
setJavaScript | public void setJavaScript(boolean javaScript)(Code) | | If the javaScript attribute is true, a script
element with a reference to the JavaScript file that defines the
client side behaviour of the Sun Java Web UI Components is
rendered. The default value is true. This component is primarily
intended for portlet
environments. In a web application, this functionality is
automatically provided by the ui:head
component.
See Also: ThemeLinksBase.isJavaScript() |
setStyleSheet | public void setStyleSheet(boolean styleSheet)(Code) | | If the styleSheet attribute is true, a link
element with a reference to the CSS stylesheet that defines the
appearance of the Sun Java Web UI Components is
rendered. The default value is true.
This component is primarily intended for portlet
environments. In a web application, this functionality is
automatically provided by the ui:head
component.
See Also: ThemeLinksBase.isStyleSheet() |
setStyleSheetInline | public void setStyleSheetInline(boolean styleSheetInline)(Code) | | If the styleSheetInline attribute is true, the
stylesheet that defines the appearance of the Sun Java Web UI
Components is rendered inline. The default value is true.
This component is primarily
intended for portlet environments. In a web application, this
functionality is automatically provided by the
ui:head component.
See Also: ThemeLinksBase.isStyleSheetInline() |
|
|