Usage. * * treedropdownfield is used on {@link VirtualPage} a class which creates another instance of a page, with exactly the same fields that can be represented on another part of the site. The code below is taken from an example of this. * * * // Put this at the top of the class that defines your model (e.g. the class that extends DataObject). * static $has_one = array( * 'RightContent' => 'SiteTree' * ); * * // Setup the linking to the original page. (Put this in your getCMSFields() method or similar) * $treedropdownfield = new TreeDropdownField("RightContentID", "Choose a page to show on the right:", "SiteTree"); * * * This will generate a tree allowing the user to expand and contract subsections to find the appropriate page to save to the field. * * @see TreeMultiselectField for the same implementation allowing multiple selections * @see DropdownField for a simple