Last change
on this file since 1 was
1,
checked in by myroslav, 19 years ago
|
Building directory structure
|
-
Property svn:eol-style set to
native
|
File size:
510 bytes
|
Line | |
---|
1 | ## Script (Python) "qpt_edit" |
---|
2 | ##bind container=container |
---|
3 | ##bind context=context |
---|
4 | ##bind namespace= |
---|
5 | ##bind script=script |
---|
6 | ##bind subpath=traverse_subpath |
---|
7 | ##parameters= idx, num, visibility=[] |
---|
8 | ##title= |
---|
9 | ## |
---|
10 | |
---|
11 | req = context.REQUEST |
---|
12 | params = {'self':context,'num':num} |
---|
13 | fields = ['name', 'action', 'id', 'condition'] |
---|
14 | if visibility != []: params['visibility'] = visibility |
---|
15 | for item in fields: |
---|
16 | params[item] = req.get('i'+idx+'_'+item, None) |
---|
17 | |
---|
18 | from Products.qPloneTabs.utils import editAction |
---|
19 | return editAction(**params) |
---|
Note: See
TracBrowser
for help on using the repository browser.