ICEfaces-EE ACE Components
Tag droppable


Allows a specified component to act as an area where Draggable items can be moved onto and register the event.

For more information, see the Droppable Wiki Documentation.


Client Events
NameDescriptionSupported classes for argument
dropFired when a draggable component is dropped on this droppable component (default event). By default, both the draggable and the droppable components are executed in this ajax request.javax.faces.event.AjaxBehaviorEvent
Client events can be used with Client Behaviors and the ace:ajax tag.


Tag Information
Tag Classorg.icefaces.ace.component.dnd.DroppableTag
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

Attributes
NameRequiredRequest-timeTypeDescription
acceptnotruejava.lang.StringJQuery selector to define the set of acceptable draggables.
activeStyleClassnotruejava.lang.StringClass to apply to the droppable component when an acceptable draggable is dropped.
bindingnotruejavax.el.ValueExpressionUsing an EL expression, bind the component reference to a bean property, so that the component may be accessed in the bean.
datasourcenotruejava.lang.StringAllows you to set the ID of an ACE UIData component and that will provide a Java object as input for the drop event. That object is defined by matching the sibling index of the droppable to an object at that index in the UIData component backing.
disablednotruebooleanIf enabled, no draggables will activate this droppable.
dropListenernotruejavax.el.MethodExpressionMethodExpression reference to a method called whenever a draggable is moved into this droppable. The method receives a single argument, DragDropEvent.
fornotruejava.lang.StringId of the component to add the droppable behavior to.
hoverStyleClassnotruejava.lang.StringClass to apply to the droppable component when an acceptable draggable is hovering.
idnotruejava.lang.StringThe component identifier for this component. This value must be unique within the closest parent component that is a naming container.
renderednotruebooleanReturn true if this component (and its children) should be rendered during the Render Response phase of the request processing lifecycle. Default = 'true'.
scopenotruejava.lang.StringThis keyword allows sets of dragabbles and droppables with the same keyword to be associated with each other exclusively.
tolerancenotruejava.lang.StringThis arbitrary keyword specifies the method of checking if a draggable is 'over' the droppable, possible values include: fit (drag must be smaller), intersect (drag must cover > 50%). pointer (cursor must be inside drop) and touch (any of the drop touches).
widgetVarnotruejava.lang.StringThe JavaScript component instance variable name.

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.