public function freeze() {
        if (!$this->configured) {
            if (!$this->fileName) throw new StrutsConfigException('<tile name="'.$this->name.'": No file configured.');

            foreach ($this->nestedTiles as $tile) {
                if ($tile) $tile->freeze();
            }
            $this->configured = true;
        }
        return $this;
    }