On Fri, February 15, 2013, Emond Papegaaij wrote:
> DroppableBehavior is the replacement of DroppableAjaxBehavior. You use it
> like this:
>
> final DroppableBehavior droppableBehavior = new DroppableBehavior();
> droppableBehavior.setDropEvent( new AjaxDropCallback() {
> protected void drop(AjaxRequestTarget target, Component source,
> Component dropped) {
> // [...]
> }
> } );
> droppableBehavior.setAccept( new DroppableAccept( ".fileItem" ) );
> droppableBehavior.setHoverClass( "dropHover" );
> add( droppableBehavior );
Thank you very much! I just could not find any example from
which to find out how to use it...
Cheers,
M'bert
--
----------- / http://herbert.the-little-red-haired-girl.org / -------------
=+=
Albert Camus wrote that the only serious question is whether to kill yourself
or not. Tom Robbins wrote that the only serious question is whether time has
a beginning and an end. Camus clearly got up on the wrong side of bed, and
Robbins must have forgotten to set the alarm. -- Tom Robbins
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]