File: configure.zcml

package info (click to toggle)
plone3 3.1.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 73,972 kB
  • ctags: 39,149
  • sloc: python: 209,481; xml: 25,065; sh: 1,395; makefile: 585; php: 129; lisp: 54
file content (61 lines) | stat: -rw-r--r-- 1,428 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<configure xmlns="http://namespaces.zope.org/zope"
     xmlns:browser="http://namespaces.zope.org/browser"
     xmlns:kss="http://namespaces.zope.org/kss"
     xmlns:zcml="http://namespaces.zope.org/zcml"
     >
     
    <!-- Third party library dependencies -->

    <browser:resource
        file="3rd_party/prototype.js"
        name="prototype.js"
        />

    <browser:resource
        file="3rd_party/effects.js"
        name="effects.js"
        />

    <!-- example plugin registration
     
    <kss:eventtype
        name="myCustomEventType"
        jsfile="browser/my_plugins.js"
        />
  
    <kss:action
        name="myCustomAction"
        jsfile="browser/my_plugins.js"
        command_factory="selector/global"
        params_mandatory="param1 param2 ... paramN"
        params_optional=""
        />
  
    <kss:selectortype
        name="myCustomSelectorType"
        jsfile="browser/my_plugins.js"
        />

    -->

    <!-- Event types -->

    <!-- Client actions & commands -->
    
    <kss:action
        name="effect"
        jsfile="browser/plugin.js"
        command_factory="selector"
        params_mandatory="type"
        />

    <!-- Command sets -->

    <kss:commandset
         name="effects"
         for="kss.core.interfaces.IKSSView"
         class=".commands.ScriptaculousEffectsCommands"
         provides=".interfaces.IScriptaculousEffectsCommands"
         />

</configure>