source: products/qTopic/trunk/skins/qtopic/atct_saveTopicSetup.cpy @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

File size: 608 bytes
Line 
1## Controller Python Script "atct_saveTopicSetup"
2##bind container=container
3##bind context=context
4##bind namespace=
5##bind script=script
6##bind state=state
7##bind subpath=traverse_subpath
8##parameters=
9##title=Save topic setup modifications
10
11if state.button == 'index_save':
12    next_page = 'atct_manageTopicIndex'
13elif state.button == 'metadata_save':
14    next_page = 'atct_manageTopicMetadata'
15
16result = context.portal_atct.manage_saveTopicSetup(context.REQUEST)
17
18state.setNextAction('redirect_to:string:%s'%next_page)
19
20state.setKwargs({'portal_status_message':'Smart Folder setup saved'})
21
22return state
Note: See TracBrowser for help on using the repository browser.