Woodstock to ICEfaces Component Mapping

webuijsf:pageAlert to ice:panelPopup

Summary

The ice:panelPopup component can be used in the same situations where webuijsf:pageAlert is used. It is recommended to use the 'modal' functionality in ice:panelPopup for these cases.

TLD Comparison

Woodstock ICEfaces Comments
Common Attributes    
binding binding -
id id -
rendered rendered -
style style -
styleClass styleClass -
visible visible -
Similar Attributes    
Unique Attributes    
alt - -
detail - Place desired text inside the 'body' facet.
escape - -
summary - Place desired text inside the 'header' facet.
tabIndex - -
title - -
type - -
- autoCentre -
- autoPosition -
- clientOnly -
- draggable -
- effect -
- modal -
- renderedOnUserRole -
- resizable -
- title -

Usage Examples

<webuijsf:pageAlert id="alert1" type="error" 
    summary="Patch Installation Failed!" 
    detail="Patch 9997-01 was not installed on host alpha, beta and zed."
    linkText="View Log" 
    linkURL="/log/patch-log.txt" />

<ice:panelPopup id="alert1" modal="true">
    <f:facet name="header"><ice:outputText value="Error: Patch Installation Failed!" /></f:facet>
    <f:facet name="body">
        <ice:outputText value="Patch 9997-01 was not installed on host alpha, beta and zed." />
    </f:facet>
</ice:panelPopup>




<webuijsf:pageAlert id="alert1" type="error" 
    summary="#{ErrorBean.summary}" 
    detail="#{ErrorBean.detail}" />

<ice:panelPopup id="alert1" modal="true">
    <f:facet name="header"><ice:outputText value="#{ErrorBean.summary}" /></f:facet>
    <f:facet name="body">
        <ice:outputText value="#{ErrorBean.detail}" />
    </f:facet>
</ice:panelPopup>