TDropContainter currently (Prado/3.1.6) doesn't publish a ClientSide
property, even though in reality it's a (pseudo-)ActiveControl which is
using a callback mechanism to notify the server side of draggables dropped
on it. This makes it impossible to implement for ex. a "busy" animation in
your pages while the drop action is processed on the server-side and the
results are returned.
The problem can be easily fixed by adding a
public function getClientSide()
{
return $this->getAdapter()->
getBaseActiveControl()->getClientSide();
}
method to TDropContainer in TDropContainer.php. After that the
ClientSide.OnPreDispatch, ClientSide.OnPreDispatch, etc. properties will
be accessible in the templates for the drop container controls too.
Original issue reported on code.google.com by google...@pcforum.hu on 29 Dec 2009 at 3:27
Original issue reported on code.google.com by
google...@pcforum.hu
on 29 Dec 2009 at 3:27