View Source

h2. Core Tags

To use any of the core tags, first declare the core namespace:
{code}
<html ... xmlns:icecore="http://www.icefaces.org/icefaces/core">
{code}
The ICEfaces 2 core framework supports the following tags in your Facelets markup:

h3. <icecore:singleSubmit> {anchor:icecoresinglesubmit}

The <icecore:singleSubmit> tag is designed to allow submission from just the component generating the event and then update the page with any changes from all components. It's used in the following way:

{code:xml}<h:form id="form1" prependId="false">
<icecore:singleSubmit rendered="true" />
...
{code}
More detailed information can be found in the [Single Submit] section.

h3. <icecore:config> {anchor:icecoreconfig}

You can use the ICEfaces configuration tag to adjust behaviour on a per-page basis. To do so, add the <ice:config/> tag to the page and then set one or more of the following attributes:

h5. ariaEnabled

{code:xml}<icecore:config ariaEnabled="true"/>{code}

Allows control of DOM rendering on a per-page basis. By default, when ICEfaces is available, ARIA support is enabled. By using this setting in in conjunction with the application-scoped org.icefaces.aria.enabled context parameter, you can control whether or not ARIA support is active on an individual page.


{excerpt:hidden=true}

h5. blockUIOnSubmit

{code:xml}<icecore:config blockUIOnSubmit="false"/>{code}


h5. lazyPush

{code:xml}<icecore:config lazyPush="false"/>{code}
Allows control of lazy Ajax Push activation on a per-page basis. By default, when ICEpush is available, the Ajax Push feature will only activate when the first push request is called. By using this setting in in conjunction with the application-scoped org.icefaces.lazyPush context parameter, you can control the lazy activation of Ajax Push on a per-page basis.
{excerpt}

h5. messagePersistence

{code:xml}<icecore:config messagePersistence="true"/>{code}

h5. render

{code:xml}<icecore:config render="true"/>{code}
Allows control of DOM rendering on a per-page basis. By default, when ICEfaces is available, DOM rendering and partial page updates are enabled for stock JSF components. By using this setting in in conjunction with the application-scoped org.icefaces.render.auto context parameter, you can control whether or not ICEfaces is active on an individual page.

h3. <icecore:push> {anchor:icecorepush}

You can use the ICEfaces push tag to configure push behavior on a per-page basis. To do so, add the <ice:push/> tag to the page and then set one or more of the following attributes:

h5. group

{code:xml}<icecore:push group="groupName"/>{code}

Allows control of Views being added to one or more push groups on a per-page basis.