source:
WAeUP_SRP/branches/joachim-azax-branch/skins/waeup_academics/academicsParent.py
@
11107
Last change on this file since 11107 was 1988, checked in by , 17 years ago | |
---|---|
|
|
File size: 345 bytes |
Rev | Line | |
---|---|---|
[383] | 1 | ## Script (Python) "navigationParent" |
2 | ##bind container=container | |
3 | ##bind context=context | |
4 | ##bind namespace= | |
5 | ##bind script=script | |
6 | ##bind subpath=traverse_subpath | |
7 | ##parameters=obj=None,templateId=None | |
8 | ##title=returns the appropriate url for the parent object | |
9 | ## | |
10 | ||
11 | if obj is None: | |
12 | obj=context | |
13 | ||
[1988] | 14 | |
[383] | 15 | parent=obj.aq_parent |
16 | ||
17 | return parent.absolute_url() | |
18 |
Note: See TracBrowser for help on using the repository browser.