The code below works but the moment that I set my questioneditorpanel as
invisible to start with (even with the setOutputMarkupPlaceholder(true)),
the the draggable behavior stops working. I don't know why this is
happening? Any tips on where to start looking?
Thanks,
Pieter
What is in draggablebehavior? That might be the problem.
**
Martin
2009/11/23 pieter claassen pie...@claassen.co.uk:
The code below works but the moment that I set my questioneditorpanel as
invisible to start with (even with the setOutputMarkupPlaceholder(true)),
the the draggable behavior
Sorry, this is from the jwicket-ui-dragdrop-1.4.1 project.
org.wicketstuff.jwicket.ui.dragdrop.DraggableBehavior
I don't know what is in it :-(
This drabable code works fine until I set isVisible(false) on the panel I
want to drag around. Then all ajax events from dragging the panel
disappears.
This drabable code works fine until I set isVisible(false) on the panel I
want to drag around. Then all ajax events from dragging the panel
disappears.
Do you really expect to drag something that is not rendered on the browser?
**
Martin
Regards,
Pieter
On Mon, Nov 23, 2009 at 1:34 PM,
Note that in the AjaxLink I create a new replacement panel, add a dragging
behavior to it and then replace the old one with it (code below). My
question is that even though I add a draggable behavior to the new panel and
do the proper replacement, it stops working as soon as I start of with an
but sounds reasonable eh?
Craig
-Original Message-
From: pieter claassen [mailto:pieter.claas...@gmail.com]
Sent: Monday, November 23, 2009 8:22 AM
To: Martin Makundi
Cc: users@wicket.apache.org
Subject: Re: setVisible(false) kills DraggableBehavior()
Note that in the AjaxLink I create a new
@wicket.apache.org
Subject: RE: setVisible(false) kills DraggableBehavior()
Last time I checked, and it's been a while, the setOutputMarkupPlaceholderTag
behavior was to create an element like div id='wicketId' style='not visible'
/ and then when you set it back to visible you end up