3. checkBoxText

Last page update: November 23, 2011

Note

checkBoxText features:

3.1. definition

GnrDomSrc_dojo_11.checkboxtext(labels, value=None, separator=', ', **kwargs)

A group of checkboxes that allow to compose a string with checkbox labels.

Parameters:
  • labels – a string separated by comma set of words. For every words there will be created a single checkbox
  • value – the path of the checkboxtext value
  • separator – the characters that separate the checkbox text

3.2. Examples

3.2.1. simple example

  • checkboxtext [basic]

    Note

    example elements’ list:

  • Code:

    # -*- coding: UTF-8 -*-
    """checkBoxText"""
    
    class GnrCustomWebPage(object):
        py_requires="gnrcomponents/testhandler:TestHandlerFull"
    
        def test_1_basic(self,pane):
            """checkboxtext"""
            pane.checkBoxText('name,surname,address',value='^.foo',separator=' - ')
            pane.simpleTextarea(value='^.foo')
    

Table Of Contents

Previous topic

2. CheckBox

Next topic

4. field

This Page