Rendering deleting bottom half of page...
                    Here is my Render function:
		function Render() {
			//$All = $this->Context->ObjectFactory->NewContextObject($this->Context, 'SuperCategoryManager');
			$select = $this->Context->ObjectFactory->NewObject($this->Context, 'SqlBuilder');
			$select->SetMainTable('SuperCategory', 'sc');
			$select->AddSelect('Parent', 'sc', 'Parent');
			$select->AddWhere('sc', 'Parent', '', 0, '=');
			$Result = $this->Context->Database->Select($select, $this->Name, 'GetAll', 'Error');
			$HTML = "";
			$this->CallDelegate('PreRender');
			
			while($Row = $this->Context->Database->GetRow($Result)) {
				$HTML .= "Hi there";
			}
			echo "Mex";
			$this->CallDelebate('PostRender');
		}
When I render my object onto the page, it'll only load the header and then everything else is gone. I tried commenting out the loop and it acted the same so I know the problem isn't the loop. When I commented everything out, except for "echo 'Mex', it worked fine. I think the problem is how I'm using SqlBuilder...does anyone have any suggestions?                
                0          
            This discussion has been closed.
            
        
            
Comments