| 27 |
description="If the Uninted States is one of the countries, select the states that will be involved in this action"), |
description="If the Uninted States is one of the countries, select the states that will be involved in this action"), |
| 28 |
vocabulary='getUSStates', |
vocabulary='getUSStates', |
| 29 |
), |
), |
| 30 |
|
LinesField('usGroup', |
| 31 |
|
widget=MultiSelectionWidget(label='Participating US Groups', |
| 32 |
|
description="If the Uninted States is one of the countries, select the political groups that will be involved"), |
| 33 |
|
vocabulary='getUSGroups', |
| 34 |
|
), |
| 35 |
StringField('currentOffice', |
StringField('currentOffice', |
| 36 |
widget=StringWidget(label='Current Office', |
widget=StringWidget(label='Current Office', |
| 37 |
description="To restrict this action to a perticular office or position."), |
description="To restrict this action to a perticular office or position."), |
| 89 |
|
|
| 90 |
return result |
return result |
| 91 |
|
|
| 92 |
|
def getUSGroups(self): |
| 93 |
|
return DisplayList(( |
| 94 |
|
('US-House', 'U.S. House'), |
| 95 |
|
('US-Senate', 'U.S. Senate'), |
| 96 |
|
('State-House', 'State House'), |
| 97 |
|
('State-Senate', 'State Senate'), |
| 98 |
|
)) |
| 99 |
|
|
| 100 |
|
|
| 101 |
registerType(ActionRecipientList) |
registerType(ActionRecipientList) |