Woodstock to ICEfaces Component Mapping

webuijsf:alert to ice:panelPopup

Summary

The ice:panelPopup component can be used in the same situations where webuijsf:alert is used.

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.
htmlTemplate - -
indicators - -
linkActionExpression - -
linkTarget - Use an ice:outputLink component inside ice:panelPopup.
linkText - Use an ice:outputLink component inside ice:panelPopup.
linkToolTip - Use an ice:outputLink component inside ice:panelPopup.
linkURL - Use an ice:outputLink component inside ice:panelPopup.
summary - Place desired text inside the 'header' facet.
tabIndex - -
type - -
- autoCentre -
- autoPosition -
- clientOnly -
- draggable -
- effect -
- modal -
- renderedOnUserRole -
- resizable -
- title -

Usage Examples

<webuijsf:alert 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">
    <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." />
        <ice:outputLink url="/log/patch-log.txt">View Log</ice:outputLink>
    </f:facet>
</ice:panelPopup>




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

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