This project is read-only.

AvailableZone - purpose

Topics: Developer Forum
Sep 9, 2008 at 4:26 PM
Edited Sep 9, 2008 at 4:29 PM
I'm just wondering, why do we need to use an attribute [AvailableZone] on items ?
In templates project, there are a few items with this attribute.

But in fact, we can get all available at the moment zones from the page controls looking for DroppableZone (or any other Zone) control. 
Sep 9, 2008 at 5:29 PM
You're absolutely right.

They were implemented before there was any drag and drop and I needed a way of specifying which zones you could add stuff to (the zones button when editing a page). Still I do like the idea of defining zones on the content item as a way to decouple it from presentation.