ICEfaces EE Composite Components
Tag dialog


The Dynamic Dialog Composite Component

A popup dialog that can be used for the whole application

Features

How To Use

  1. Add the ice-cc:dialog tag to your application in a spot where it is not nested in a form
  2. Create a class extending DialogTypes and register it as a reqest scope bean named 'dialogTypes' in faces-config.xml
  3. Add at least one dialog in the constructor and a call to setDefaultDialog()
  4. To launch the dialog obtain a reference to the managed-bean named 'dialogState', retrieve the current Dialog, configure and set the Dialog to render

Example:
<ice-cc:dialog modal="true" dialog="#{dialogState.currentDialog}" styleClass="#{dialogState.currentDialog.cssStyle}"/>


Tag Information
Tag Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameDialog Popup Component

Attributes
NameRequiredRequest-timeTypeDescription
dialogtruefalsecom.icesoft.faces.facelets.component.dialog.DialogMust resolve to an instance of the Dialog class
autoCentrefalsefalsejava.lang.BooleanUsed to keep the popup centred on the screen through scrolling and window resizing events.
autoPositionfalsefalsejava.lang.StringUsed to keep the popup positioned on the screen through scrolling events. Use a string of x and y px values (e.g. autoPostion="35,200"). For a modal popup, use "manual" to disable automatic centering on the document. Then specify top, left positions by style or styleClass.
draggablefalsefalsejava.lang.BooleanWhen set to 'true' this component is draggable. The user will be able to drag the panel to any position on the page. Note: all Draggable panels must be contained in a form.
clientOnlyfalsefalsejava.lang.BooleanSends update to the server on drop event if false. Default value is false.
positionOnLoadOnlyfalsefalsejava.lang.BooleanCentre or position popup once on load only. Any drag and drop will disable autoCentre and autoPosition.
modalfalsefalsejava.lang.BooleanSets the popup to be modal (default false)
titlefalsefalsejava.lang.StringThe title header for the popup
effectfalsefalsecom.icesoft.faces.context.effects.EffectThe Javascript Effect
okButtonStyleClassfalsefalsejava.lang.StringPassed through to styleClass attribute of 'ok' ice:commandButton component
yesButtonStyleClassfalsefalsejava.lang.StringPassed through to styleClass attribute of 'yes' ice:commandButton component
noButtonStyleClassfalsefalsejava.lang.StringPassed through to styleClass attribute of 'no' ice:commandButton component
cancelButtonStyleClassfalsefalsejava.lang.StringPassed through to styleClass attribute of 'cancel' ice:commandButton component
styleClassfalsefalsejava.lang.StringSpace-separated list of CSS style class(es) to be applied when this element is rendered.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator. Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-4 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.