DragDrop
Tag draggableResource


Description

This tag is used to identify a draggable resource on the page.

Examples

The following example will create a draggable object on the page. The runtime value if issue.id can be used to uniquely identify the dragged resource. When dropped on a resourceDropZone, this id can be accessed via a request parameter named "sourceId" (if the resourceDropZone tag triggers a POST action) or via the getSourceId() JavaScript function (if resourceDropZone tag triggers a JavaScript function). The resourceName value is also accessible via a request parameter named "sourceName" or the getSourceName() JavaScript function.
<dragdrop:draggableResource resourceId="${issue.id}" resourceName="${issue.title}" renderSpans="true">
  ...
</dragdrop:draggableResource>


Tag Information
Tag Classcom.bea.apps.groupspace.taglib.dragdrop.DraggableResource
TagExtraInfo ClassNone
Body ContentNone
Display NameDraggable Resource

Attributes
NameRequiredRequest-timeDescription
imageIdfalsetrue No longer used.
resourceIdtruetrue The unique identifier of the resource that is being dragged. This should be an id that can be used by the underlying business logic to uniquely identify the resource.
resourceNametruetrue The representative name of the resource being dragged.
renderSpansfalsetrue If set to false (which is default), html will render using div tags. If set to true, html will render using span tags. This attribute can be used to address browser formatting issues.

Variables
No Variables Defined.


Output Generated by Tag Library Documentation Generator.

Copyright © 2008 BEA Systems, Inc. All Rights Reserved.