source:
WAeUP_SRP/branches/srp_backend/skins/waeup_academics/academicsParent.py
@
446
Last change on this file since 446 was 438, checked in by , 18 years ago | |
---|---|
File size: 344 bytes |
Rev | Line | |
---|---|---|
[438] | 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 | ||
14 | parent=obj.aq_parent | |
15 | ||
16 | return parent.absolute_url() | |
17 |
Note: See TracBrowser for help on using the repository browser.