ICEfaces EE Composite Components
Tag easyPopup


The Easy Popup Panel Composite Component

Features

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 Classjavax.faces.webapp.FacetTag
TagExtraInfo ClassNone
Body Contenttagdependent
Display NameEasy Popup Panel

Attributes
NameRequiredRequest-timeTypeDescription
beantruefalsejava.lang.ObjectBean with a close popup actionListener
closeMethodNametruefalsejava.lang.StringName of close popup ActionListener method called in 'bean'
renderedfalsefalsejava.lang.BooleanFlag indicating whether this component should be rendered (during Render Response Phase), or processed on any subsequent form submit (default true).
closeImagefalsefalsejava.lang.StringPassed through to src attribute of img tag nested in ice:commandLink
closeStylefalsefalsejava.lang.StringPassed through to style attribute of img tag nested in ice:commandLink
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
stylefalsefalsejava.lang.StringCSS style(s) to be applied when this component is rendered
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.