Overview | Library | Tag | Help
| FRAMES NO FRAMES

## ICEfaces EE Composite Components
Tag easyPopup

## The Easy Popup Panel Composite Component

### Features

- Less code than standard ICEfaces Popup
- Many configurable options

### How To Use

1. Bind a boolean in your bean to the rendered attribute of the component
2. Pass in a bean with a close popup actionListener
3. Nest popup content in the ice-cc:easyPopup tag

Example:

    <ice-cc:easyPopup rendered="#{popupExampleBean.showPopup}" title="Popup Example" bean="#{popupExampleBean}" modal="#{popupExampleBean.popupModal}" closeMethodName="closePopup"> <ice:panelGroup> Popup Content </ice:panelGroup> </ice-cc:easyPopup>

Tag Information
Tag Class | javax.faces.webapp.FacetTag
TagExtraInfo Class | None
Body Content | tagdependent
Display Name | Easy Popup Panel

Attributes
Name | Required | Request-time | Type | Description
bean | true | false | `java.lang.Object` | Bean with a close popup actionListener
closeMethodName | true | false | `java.lang.String` | Name of close popup ActionListener method called in 'bean'
rendered | false | false | `java.lang.Boolean` | Flag indicating whether this component should be rendered (during Render Response Phase), or processed on any subsequent form submit (default true).
closeImage | false | false | `java.lang.String` | Passed through to src attribute of img tag nested in ice:commandLink
closeStyle | false | false | `java.lang.String` | Passed through to style attribute of img tag nested in ice:commandLink
autoCentre | false | false | `java.lang.Boolean` | Used to keep the popup centred on the screen through scrolling and window resizing events.
autoPosition | false | false | `java.lang.String` | Used 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.
draggable | false | false | `java.lang.Boolean` | When 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.
clientOnly | false | false | `java.lang.Boolean` | Sends update to the server on drop event if false. Default value is false.
positionOnLoadOnly | false | false | `java.lang.Boolean` | Centre or position popup once on load only. Any drag and drop will disable autoCentre and autoPosition.
modal | false | false | `java.lang.Boolean` | Sets the popup to be modal (default false)
title | false | false | `java.lang.String` | The title header for the popup
effect | false | false | `com.icesoft.faces.context.effects.Effect` | The Javascript Effect
style | false | false | `java.lang.String` | CSS style(s) to be applied when this component is rendered
styleClass | false | false | `java.lang.String` | Space-separated list of CSS style class(es) to be applied when this element is rendered.

Variables
| No Variables Defined.

Overview | Library | Tag | Help
| FRAMES NO FRAMES

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.