Primefaces users guide 3 5

Page 160

PrimeFaces User’s Guide

3.30.2 Droppable Info Tag

droppable

Component Class

org.primefaces.component.dnd.Droppable

Component Type

org.primefaces.component.Droppable

Component Family

org.primefaces.component

Renderer Type

org.primefaces.component.DroppableRenderer

Renderer Class

org.primefaces.component.dnd.DroppableRenderer

Attributes Name

Default

Type

Description

id

null

String

Unique identifier of the component

rendered

TRUE

Boolean

Boolean value to specify the rendering of the component, when set to false component will not be rendered.

binding

null

Object

An el expression that maps to a server side UIComponent instance in a backing bean

widgetVar

null

String

Variable name of the client side widget

for

null

String

Id of the component to add droppable behavior

disabled

FALSE

Boolean

Disables of enables droppable behavior

hoverStyleClass

null

String

Style class to apply when an acceptable draggable is dragged over.

activeStyleClass

null

String

Style class to apply when an acceptable draggable is being dragged.

onDrop

null

String

Client side callback to execute when a draggable is dropped.

accept

null

String

Selector to define the accepted draggables.

scope

null

String

Scope key to match draggables and droppables.

tolerance

null

String

Specifies the intersection mode to accept a draggable.

datasource

null

String

Id of a UIData component to connect with.

160


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.