source: products/Plone4ArtistsAudioPatch/trunk/skins/Plone4ArtistsAudioPatch/set_encoding.cpy @ 1

Last change on this file since 1 was 1, checked in by myroslav, 18 years ago

Building directory structure

  • Property svn:eol-style set to native
File size: 414 bytes
Line 
1# Controller Python Script "set_encoding"
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=
10#
11
12encoding = context.REQUEST.get('encoding')
13
14context.restrictedTraverse('@@audio_encoded').setEncoding(encoding)
15
16return state.set(portal_status_message="Audio tag's text encoding setted to '%s'" % encoding)
Note: See TracBrowser for help on using the repository browser.