

Provides the ability to dynamically change the theme style sheet at runtime via a value binding on the component's `href` attribute. See the TLD (taglib) documentation for the ice:outputStyle component for details. Automatically includes browser-specific variants of the main style sheet in the page to adapt the theme styling to account for differences in each browsers' CSS support. The ice:outputStyle component has the following advantages over the HTML link tag: (3) Is there any Advantages of using ICEFaces OutputStyle ?

IMPORTANT : The default CSS class names associated with each component are listed in the component's TLD (taglib) description.

If the style class names match those defined in the ICEfaces style sheets, the ICEfaces components will use the specified styles by default, without the need to specify the style class names explicitly on each component. There are three predefined ICEfaces style sheets included:ĭevelopers may also create their own custom style sheet based on a predefined ICEfaces style sheet. Therefore, you'll have to customize each and every component on your own - or apply your own common style class to every component you use via the styleClass property. I've not found many classes, which have been reused between different components.
#ICEFACES COMPONENTS UPDATE#
It also provides 'Ajax Push', a variant of Comet capability, that can update the DOM of a web page from the server.
#ICEFACES COMPONENTS FULL#
ICEfaces is based on the JavaServer Faces standard, it extends some standard components supplemented with in-built Ajax. Examples of supported submit methods are: components doing full form submits, singleSubmit(s) such as via icecore:singleSubmit, partialSubmit(s) by ice: components, f:ajax submits by h: components, ace:ajax submits by ace: components, and direct use of ICEfaces javascript submit APIs. Just browse around the showcase and inspect the components with Firebug. ICEfaces is designed to work with Java EE servers, encapsulating Ajax calls. Starting from here, feel free to either manipulate the chosen stylesheets or - which I favor - include your own stylesheets after ICEfaces' ones and overwrite the needed styles.īasically every ICEfaces component has its own style class. Include it within your *.xhtml file via the tag: (portlet) You can preview them in the ICEfaces showcase I suggest that you take one of the existing style-sheets, which are included within the ICEfaces package (check the resources folder of the downloaded ICEfaces-1.8.1-bin.zip):
