|
Last change
on this file was
1,
checked in by myroslav, 21 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 | |
|---|
| 11 | if state.button == 'index_save': |
|---|
| 12 | next_page = 'atct_manageTopicIndex' |
|---|
| 13 | elif state.button == 'metadata_save': |
|---|
| 14 | next_page = 'atct_manageTopicMetadata' |
|---|
| 15 | |
|---|
| 16 | result = context.portal_atct.manage_saveTopicSetup(context.REQUEST) |
|---|
| 17 | |
|---|
| 18 | state.setNextAction('redirect_to:string:%s'%next_page) |
|---|
| 19 | |
|---|
| 20 | state.setKwargs({'portal_status_message':'Smart Folder setup saved'}) |
|---|
| 21 | |
|---|
| 22 | return state |
|---|
Note: See
TracBrowser
for help on using the repository browser.