ZF-8086: setTop/BottomDecoration missing from Dojo slider

Description

Refering to documentation about Dojo slider elements at http://framework.zend.com/manual/en/…... functions setTopDecoration() and setBottomDecoration() are missing from both Zend_Dojo_Form_Element_HorizontalSlider and VerticalSlider class.

Comments

Additionally: the examples for adding labels via array notation seem to be incorrect.


$form->addElement(
    'HorizontalSlider',
    'horizontal',
    array(
        #...#
        'bottomDecorationDijit'     => 'HorizontalRule',
        'bottomDecorationContainer' => 'bottomContainer',
        'bottomDecorationLabels'    => array(
            '0%',
            '50%',
            '100%',
        ),
        'bottomDecorationParams'   => array(
            'list' => array(
                'style' => 'height:1em; font-size=75%;color:gray;',
            ),
        ),
    )
);

Looking at the setter methods the following array notation seems to be correct:


$form->addElement(
    'HorizontalSlider',
    'horizontal',
    array(
        #...#
        'bottomDecoration' => array(
            'dijit'      => 'HorizontalRule',
            'containers' => 'bottomContainer',
            'labels'     => array(
                '0%',
                '50%',
                '100%'
            ),
            'params'     => array(
                'list' => array(
                    'style' => 'height:1em; font-size=75%;color:gray;'
                )
            )
        ),
    )
);