For a single object :
http://www.vspalvelut.fi/katsetus/korterid/show/1
You might want to try this for your controller:
/**
* In template
* <% if Objekt %>
* <% control Objekt %>
* $Objektinimi
* $Kirjeldus
* <% end_control %>
* <% end_if %>
*
*/
function show(){
return array();
}
function Objekt(){
if(isset($this->request) && $this->request->param('ID')){
return DataObject::get_by_id('Objekt', (int)$this->request->param('ID'));
}
}