Quote from: BobRay at Aug 22, 2009, 03:36 PM
The tree display in Revo *does* respond to the checkbox. Checking the box displays the resource using the folder icon and the little expansion arrow whether it has children or not.
Only in terms of the icon which is displayed, which is correct; visually being able to see if the Resource is being treated as a folder or a file is important IMO, as it affects the URL structure directly (e.g. container/ or container/index.html vs. container.html). This provides flexibility in how your Resources are accessed.
Quote from: BobRay at Aug 22, 2009, 03:36 PM
That’s why I suggested merging the two definitions and using them consistently. When the current usage confuses the lead core developers, there’s a problem IMHO. 
I don’t believe we are confused; there are just multiple issues being discussed here. How the manager presents it is as planned, disregarding the automatic setting of the value which is leftover behavior from 0.9.x.
Quote from: BobRay at Aug 22, 2009, 03:36 PM
I get the argument that you might want to treat an empty container marked as a container with the checkbox differently in Ditto or Wayfinder. But then maybe we shouldn’t be setting it automatically when children are added or deleted. Maybe we need to leave it to be set only by the user and add another automatically set checkbox called "Has Children;" haschildren could them be a pseudo content field calculated in the modx class but with no field in the DB. Users would then know that they were separate concepts and developers could use the appropriate one. 
Exactly, we shouldn’t be setting it automatically, though I see no reason to introduce a checkbox for hasChildren; that is information that needs to be and can easily be determined in real-time. The presence or absence of the tree expansion icon should be enough visual cue for this. I think a control on the create/edit Resource form for this would be more confusing than understanding the original purpose of the checkbox: to control the way the Resource is accessed and the way it behaves, as a folder (i.e. container), or a file (non-container).