source:
WAeUP_SRP/trunk/PatchCPSSchemasAttributeStorageAdapter.py
@
982
| Last change on this file since 982 was 805, checked in by , 20 years ago | |
|---|---|
|
|
| File size: 261 bytes | |
| Rev | Line | |
|---|---|---|
| [537] | 1 | def _getContentUrl(self, object, field_id, file_name): |
| 2 | return '%s/%s' % ( | |
| 3 | object.aq_parent.absolute_url(), field_id) | |
| 4 | ||
| 5 | from Products.CPSSchemas.StorageAdapter import AttributeStorageAdapter | |
| 6 | AttributeStorageAdapter._getContentUrl = _getContentUrl |
Note: See TracBrowser for help on using the repository browser.
