#NEWLINE# def __init__( self ) : #NEWLINE# #INDENT# super ( ListSelectMultipleExample , self ) . __init__ ( ) #NEWLINE# self . setSpacing ( True ) #NEWLINE# l = ListSelect ( 'Please select some cities' ) #NEWLINE# for c in self . _cities : #NEWLINE# #INDENT# l . addItem ( c ) #NEWLINE# #UNINDENT# l . setRows ( 7 ) #NEWLINE# l . setNullSelectionAllowed ( True ) #NEWLINE# l . setMultiSelect ( True ) #NEWLINE# l . setImmediate ( True ) #NEWLINE# l . addListener ( self , IValueChangeListener ) #NEWLINE# self . addComponent ( l )