public function showlist() {
		if ($this->getRecord() && $this->getRecord() instanceof ItemList) {
			
			if ($this->request->getExtension() == 'csv') {
				$this->response->addHeader('Content-type', 'text/csv');
				return $this->getRecord()->toCSV();
			} else {
				$content = $this->getRecord()->forTemplate();
				if ($this->request->isAjax()) {
					return $content;
				} else {
					return $this->customise(array(
						'Content' => $content
					))->renderWith(array('Page', 'Page'));
				}
			}
		}
	}