protected function createCompositeWidgets()
    {
        $this->ignore_errors_checkbox = new SwatCheckbox(
            $this->id . '_ignore_checkbox'
        );

        $ignore_field = new SwatFormField($this->id . '_ignore_field');
        $ignore_field->title = Swat::_('Ignore XHTML validation errors');
        $ignore_field->add($this->ignore_errors_checkbox);

        $this->addCompositeWidget($ignore_field, 'ignore_field');
    }