Monday, September 19, 2011

add popup in icefaces visual pages

<ice:panelPopup autoCentre="true" draggable="true" id="deletePanelPopup" modal="true" rendered="#{AMUChassisSessionBean.yesNoRendered}"
style="display: block; height: 48px; left: 1080px; top: 456px; position: absolute; width: 416px" title="DTT Dialog">
<f:facet name="header">
<ice:panelGrid cellpadding="0" cellspacing="0" columns="2" style="text-align: center;" width="100%">
<ice:outputText styleClass="PopupHeaderText" value="Device Activation and Topology Management"/>
<ice:commandButton actionListener="#{AMUChassis.closeButton_processAction}" alt="Close" id="yesNoPnlCloseBtn"
image="/resources/popupclose.gif" styleClass="PopupHeaderImage" title="Close Popup" type="button"/>
</ice:panelGrid>
</f:facet>
<f:facet name="body">
<ice:panelGroup styleClass="PopupBody">
<ice:outputText style="font-family: Verdana,Arial,Helvetica,sans-serif; font-size: 12px; left: 416px; text-align: center;" value="Chassis #{AMUChassisSessionBean.originalChassisName} and all associated components will be deleted, continue ?"/>
<br/>
<br/>
<ice:commandButton actionListener="#{AMUChassis.yesButton_processAction}" id="yes"
style="position: relative; left: 120px; width: 80px" type="submit" value="Yes"/>
<ice:commandButton actionListener="#{AMUChassis.noButton_processAction}" id="no"
style="position: relative; left: 160px; width: 80px" type="submit" value="No"/>
</ice:panelGroup>
</f:facet>
</ice:panelPopup>

No comments:

Post a Comment