HTML5 Core Comp Lib.
Tag dragSource

Adds the Html5 drag functionality to its parent.
This behavior should be attached to "dragstart" event of the parent.

Tag handler for {@link DragSourceBehavior}. Sets the "draggable" attribute of the parent and attaches the behavior to the parent.

Tag Information
Tag Classorg.apache.myfaces.html5.handler.DragSourceBehaviorHandler
TagExtraInfo ClassNone
Body ContentJSP
Display NameNone

(must evaluate to java.lang.String)
Action of for drag operation. Can be one of below:
  • copy: A copy of the source item may be made at the new location.
  • move: An item may be moved to a new location.
  • link: A link may be established to the source at the new location.
  • none: The item may not be dropped.

If nothing is specified, the action will be defined by the browser and can be adjusted using the modifier keys. If dropTarget does not accept the action of this dragSource, then the DnD will fail.
(must evaluate to java.lang.Object)
The types of the dropTargets that drags from this dragSource can be applied. Can be comma separated set or String[] or Collection If defined, drags from this dragSource will work into only the dropTargets that have one of the same type. The drag will be accepted if 'types' of hx:dropTarget has one of the types defined here.
(must evaluate to java.lang.String)
Data to send to server when a successful drag and drop happens from this source.
The param can be received using the {@link DropEvent#getParam()} method at dropListener of the fx:dropTarget.

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.