/[pac]/pac/PACDefault/ActionRecipientList.py
ViewVC logotype

Diff of /pac/PACDefault/ActionRecipientList.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.9 by tvon, Fri Oct 3 17:18:29 2003 UTC revision 1.10 by tvon, Fri Oct 3 21:45:44 2003 UTC
# Line 2  Line 2 
2    
3  from Products.Archetypes.public import *  from Products.Archetypes.public import *
4  from Products.Archetypes.TemplateMixin import TemplateMixin  from Products.Archetypes.TemplateMixin import TemplateMixin
 from Products.Archetypes.SQLStorage import PostgreSQLStorage  
5    
6  from Products.PACDefault.config import *  from Products.PACDefault.config import *
7    
# Line 22  schema = BaseSchema + Schema(( Line 21  schema = BaseSchema + Schema((
21          widget=MultiSelectionWidget(label='Participating Countries',          widget=MultiSelectionWidget(label='Participating Countries',
22              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"),
23          vocabulary='getCountries',          vocabulary='getCountries',
         storage=PostgreSQLStorage(),  
24          ),          ),
25      LinesField('usState',      LinesField('usState',
26          widget=MultiSelectionWidget(label='Participating US States',          widget=MultiSelectionWidget(label='Participating US States',
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',
         storage=PostgreSQLStorage(),  
29          ),          ),
30      LinesField('politicalParty',      LinesField('politicalParty',
31          widget=MultiSelectionWidget(label='Political party',          widget=MultiSelectionWidget(label='Political party',
32              description="To restrict this action to a perticular political party, select it here."),              description="To restrict this action to a perticular political party, select it here."),
33          vocabulary='getPoliticalParties',          vocabulary='getPoliticalParties',
         storage=PostgreSQLStorage(),  
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."),
         storage=PostgreSQLStorage(),  
38          ),          ),
39      ###################################      ###################################
40    
# Line 48  schema = BaseSchema + Schema(( Line 43  schema = BaseSchema + Schema((
43      LinesField('actionRecipients',      LinesField('actionRecipients',
44              widget=LinesWidget(label='Action Recipients',              widget=LinesWidget(label='Action Recipients',
45                  macro_edit='pac_widgets/actionrecipients_chooser',),                  macro_edit='pac_widgets/actionrecipients_chooser',),
             storage=PostgreSQLStorage(),  
46              schemata='recipients',              schemata='recipients',
47              ),              ),
48      ###################################      ###################################

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.10

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26