root/trunk/website/schema/gesture/ModelGlue-strict.xsd @ 27

Revision 27, 22.1 kB (checked in by eparker, 16 years ago)

Added XSD files -- fixed typos

Line 
1<?xml version="1.0" encoding="UTF-8"?>
2<xsd:schema xmlns="http://www.model-glue.com/schema/gesture"
3                xmlns:xsd="http://www.w3.org/2001/XMLSchema"
4                targetNamespace="http://www.model-glue.com/schema/gesture"
5                >
6        <xsd:element name="modelglue" >
7               
8        <xsd:annotation>
9                        <xsd:documentation><![CDATA[Declares the root of a Model-Glue XML file.]]></xsd:documentation>
10                </xsd:annotation>
11               
12                <xsd:complexType>
13                        <xsd:sequence>
14                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
15                            <xsd:element ref="controllers"/>
16                                        <xsd:element ref="event-handlers"/>
17                                        <xsd:element ref="config" />
18                                        <xsd:element ref="event-types" />
19                                        <xsd:element ref="module" />
20                                        <xsd:element ref="scaffold" />
21                                       
22                                </xsd:choice>
23                        </xsd:sequence>
24                </xsd:complexType>
25               
26    </xsd:element>
27       
28        <xsd:element name="controllers">
29               
30                <xsd:annotation>
31                        <xsd:documentation><![CDATA[Contains a list of <controller> tags.]]></xsd:documentation>
32                </xsd:annotation>
33               
34                <xsd:complexType>
35                        <xsd:complexContent>
36                                <xsd:restriction base="xsd:anyType">
37                                        <xsd:sequence>
38                                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
39                                            <xsd:element ref="controller" />
40                                                </xsd:choice>
41                                        </xsd:sequence>
42                                </xsd:restriction>
43                        </xsd:complexContent>
44                </xsd:complexType>
45               
46        </xsd:element>
47       
48        <xsd:element name="event-handlers">
49               
50                <xsd:annotation>
51                        <xsd:documentation><![CDATA[Contains a list of child tags that define the events in the application.]]></xsd:documentation>
52                </xsd:annotation>
53               
54                <xsd:complexType>
55                        <xsd:sequence>
56                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
57                            <xsd:element ref="event-handler" />
58                            <xsd:element ref="scaffold" />
59                                </xsd:choice>
60                        </xsd:sequence>
61
62                        <xsd:attribute name="defaulttype" type="xsd:string" use="optional">
63                                <xsd:annotation>
64                                        <xsd:documentation><![CDATA[(Optional) - Set to a default event-type to be applied to all event-handler child tags that do not have a TYPE attribute defined.]]></xsd:documentation>
65                                </xsd:annotation>
66                        </xsd:attribute>
67                               
68                </xsd:complexType>
69               
70               
71        </xsd:element>
72       
73       
74        <xsd:element name="config">
75               
76                <xsd:annotation>
77                        <xsd:documentation><![CDATA[Used in Model-Glue XML fragments to define additional settings and by legacy Model-Glue 1.x applications to define settings. This tag was largely unused in Model-Glue 2, but may be used in Model-Glue 3 to define actionpacks.]]></xsd:documentation>
78                </xsd:annotation>
79               
80                <xsd:complexType>
81                        <xsd:sequence>
82                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
83                            <xsd:element ref="setting" />
84                                </xsd:choice>
85                        </xsd:sequence>
86                </xsd:complexType>
87               
88        </xsd:element>
89       
90        <xsd:element name="event-types">
91               
92                <xsd:annotation>
93                        <xsd:documentation><![CDATA[Contains a collection of event types.]]></xsd:documentation>
94                </xsd:annotation>
95               
96                <xsd:complexType>
97                        <xsd:complexContent>
98                                <xsd:restriction base="xsd:anyType">
99                                        <xsd:sequence>
100                                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
101                                            <xsd:element ref="event-type" />
102                                                </xsd:choice>
103                                        </xsd:sequence>
104                                </xsd:restriction>
105                        </xsd:complexContent>
106                </xsd:complexType>
107               
108               
109        </xsd:element>
110       
111        <xsd:element name="module">
112               
113                <xsd:annotation>
114                        <xsd:documentation><![CDATA[Introduces a set of external definitions into the current Model-Glue XML file. This tag works similarly to the <include> tag, except that all <module> tags are processed before <include> tags. This tag is intended for the loading of actionpacks in Model-Glue 3. ]]></xsd:documentation>
115                </xsd:annotation>
116               
117                <xsd:complexType>
118
119                        <xsd:attribute name="type" type="xsd:string" use="optional">
120                                <xsd:annotation>
121                                        <xsd:documentation><![CDATA[(Optional) - The type of module to load. Currently the only supported type is "XML".]]></xsd:documentation>
122                                </xsd:annotation>
123                        </xsd:attribute>
124                       
125            <xsd:attribute name="location" type="xsd:string" use="optional">
126                                <xsd:annotation>
127                                        <xsd:documentation><![CDATA[(Required for XML modules) - The path to the XML file to include.]]></xsd:documentation>
128                                </xsd:annotation>
129                        </xsd:attribute>
130                               
131                </xsd:complexType>             
132               
133        </xsd:element>
134       
135        <xsd:element name="scaffold">
136               
137                <xsd:annotation>
138                        <xsd:documentation><![CDATA[Automatically defines and creates user interface for listing and editing data from a database table. By default, creates object.list, object.view, object.edit, object.commit, and object.delete event-handlers, where object is the value of the OBJECT attribute. This list of event-handlers to create is controlled by the TYPE attribute.
139
140                        In Model-Glue 2, only <scaffold> tags that are children of the <event-handlers> tag are processed. In Model-Glue 3, all <scaffold> tags are processed regardless of where they appear in the XML file.
141                        ]]></xsd:documentation>
142                </xsd:annotation>
143               
144                <xsd:complexType>
145                        <xsd:sequence>
146                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
147                            <xsd:element ref="broadcasts" />
148                            <xsd:element ref="results" />
149                            <xsd:element ref="views" />
150                                </xsd:choice>
151                        </xsd:sequence>
152                       
153                        <xsd:attribute name="object" type="xsd:string" use="required">
154                                <xsd:annotation>
155                                        <xsd:documentation><![CDATA[(Required) - The name of the database table to scaffold]]></xsd:documentation>
156                                </xsd:annotation>
157                        </xsd:attribute>
158                        <xsd:attribute name="type" type="xsd:string" use="optional">
159                                <xsd:annotation>
160                                        <xsd:documentation><![CDATA[(Optional, defaults to "list,view,edit,commit,delete") - What types of event-handlers to create]]></xsd:documentation>
161                                </xsd:annotation>
162                        </xsd:attribute>
163                        <xsd:attribute name="propertylist" type="xsd:string" use="optional">
164                                <xsd:annotation>
165                                        <xsd:documentation><![CDATA[(optional) - Comma separated list of object properties to use in scaffolds.]]></xsd:documentation>
166                                </xsd:annotation>
167                        </xsd:attribute>
168                        <xsd:attribute name="event-type" type="xsd:string" use="optional">
169                                <xsd:annotation>
170                                        <xsd:documentation><![CDATA[(optional) - Comma separated list of event-types to add to the resulting event-handler tags.]]></xsd:documentation>
171                                </xsd:annotation>
172                        </xsd:attribute>
173                </xsd:complexType>
174               
175        </xsd:element>
176       
177        <xsd:element name="controller">
178               
179                <xsd:annotation>
180                        <xsd:documentation><![CDATA[Defines a CFC that will act as a Controller in the application.]]></xsd:documentation>
181                </xsd:annotation>
182               
183                <xsd:complexType>
184                        <xsd:sequence>
185                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
186                            <xsd:element ref="message-listener" />
187                                </xsd:choice>
188                        </xsd:sequence>
189
190                        <xsd:attribute name="id" type="xsd:string" use="required">
191                                <xsd:annotation>
192                                        <xsd:documentation><![CDATA[A unique name for this controller. A Model-Glue application where multiple controllers are added with the same name will currently confuse the framework (as of 2.0 Beta 1). This will eventually be resolved.]]></xsd:documentation>
193                                </xsd:annotation>
194                        </xsd:attribute>
195                       
196                        <xsd:attribute name="type" type="xsd:string" use="required">
197                                <xsd:annotation>
198                                        <xsd:documentation><![CDATA[The CFC to use for a controller in the same format that you'd use in a CreateObject() call, such as "myapplication.controller.MyController"]]></xsd:documentation>
199                                </xsd:annotation>
200                        </xsd:attribute>
201                       
202                        <xsd:attribute name="beans" type="xsd:string" use="optional">
203                                <xsd:annotation>
204                                        <xsd:documentation><![CDATA[A bean (or comma delimited list, if more than one) as defined in ColdSpring.xml, that will be accessible to any cffunction in the controller. Replaces the need for getModelGlue().getBean() within controller methods.]]></xsd:documentation>
205                                </xsd:annotation>
206                        </xsd:attribute>
207                               
208                </xsd:complexType>
209               
210               
211               
212        </xsd:element>
213       
214        <xsd:element name="message-listener">
215               
216                <xsd:annotation>
217                        <xsd:documentation><![CDATA[Relates a <cffunction> inside of a Controller CFC to a message that is broadcast via a <message> tag inside of an <event-handler>'s <broadcasts> block.]]></xsd:documentation>
218                </xsd:annotation>
219               
220                <xsd:complexType>
221                        <xsd:complexContent>
222                                <xsd:restriction base="xsd:anyType">
223                                        <xsd:attribute name="message" type="xsd:string" use="required">
224                                                <xsd:annotation>
225                                                        <xsd:documentation><![CDATA[(Required) - The name of a message for which to listen, defined by the <message> tag's NAME attribute.]]></xsd:documentation>
226                                                </xsd:annotation>
227                                        </xsd:attribute>
228                                       
229                                        <xsd:attribute name="function" type="xsd:string" use="optional">
230                                                <xsd:annotation>
231                                                        <xsd:documentation><![CDATA[(Optional) - The name of a public <cffunction> on the related Controller CFC to execute whenever a <message> is broadcast whose NAME attribute matches the value of the MESSAGE attribute. If no value is provided for Function, the name of the message will be used as Function.]]></xsd:documentation>
232                                                </xsd:annotation>
233                                        </xsd:attribute>
234                                </xsd:restriction>
235                        </xsd:complexContent>
236                </xsd:complexType>
237        </xsd:element>
238       
239        <xsd:element name="event-type">
240               
241                <xsd:annotation>
242                        <xsd:documentation><![CDATA[Defines a custom event type.  Makes applying configuration selectively to specific events quite easy.]]></xsd:documentation>
243                </xsd:annotation>
244               
245                <xsd:complexType>
246                        <xsd:sequence>
247                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
248                            <xsd:element ref="before" />
249                            <xsd:element ref="after" />
250                                </xsd:choice>
251                        </xsd:sequence>
252
253                        <xsd:attribute name="name" type="xsd:string" use="required">
254                                <xsd:annotation>
255                                        <xsd:documentation><![CDATA[(Required) - A unique name for the event type.]]></xsd:documentation>
256                                </xsd:annotation>
257                        </xsd:attribute>
258                               
259                </xsd:complexType>
260               
261        </xsd:element>
262       
263        <xsd:element name="event-handler">
264               
265                <xsd:annotation>
266                        <xsd:documentation><![CDATA[Defines an event or "page" in the application.]]></xsd:documentation>
267                </xsd:annotation>
268               
269                <xsd:complexType>
270                        <xsd:sequence>
271                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
272                            <xsd:element ref="broadcasts" />
273                            <xsd:element ref="results" />
274                            <xsd:element ref="views" />
275                                </xsd:choice>
276                        </xsd:sequence>
277
278                        <xsd:attribute name="name" type="xsd:string" use="required">
279                                <xsd:annotation>
280                                        <xsd:documentation><![CDATA[(Required) - A unique name for the event handler. This defines how the event will be accessed through the URL, such as "index.cfm?event=!MyEvent". If an <event-handler> is added whose NAME attribute is in use by another event-handler, it will overwrite the previous event-handler, except in the case of the predefined modelglue.onRequestStart, modelglue.onQueueComplete, and modelglue.onRequestEnd event-handlers. In this case, any messages, views, or results defined will be added to the predefined event handlers.]]></xsd:documentation>
281                                </xsd:annotation>
282                        </xsd:attribute>
283                       
284                        <xsd:attribute name="access" type="xsd:string" use="optional">
285                                <xsd:annotation>
286                                        <xsd:documentation><![CDATA[(Optional, defaults to "public") - If set to "private," the event handler cannot be accessed directly through the URL.]]></xsd:documentation>
287                                </xsd:annotation>
288                        </xsd:attribute>
289                       
290                        <xsd:attribute name="type" type="xsd:string" use="optional">
291                                <xsd:annotation>
292                                        <xsd:documentation><![CDATA[(Optional) - Set to an event-type to be run before and/or after the event, depending on how the event-type is set up.]]></xsd:documentation>
293                                </xsd:annotation>
294                        </xsd:attribute>
295                               
296                </xsd:complexType>
297               
298        </xsd:element>
299       
300        <xsd:element name="broadcasts">
301               
302                <xsd:annotation>
303                        <xsd:documentation><![CDATA[Contains a list of <message> tags. The <message> tags will be broadcast in the order in which they are defined.]]></xsd:documentation>
304                </xsd:annotation>
305               
306                <xsd:complexType>
307                        <xsd:sequence>
308                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
309                            <xsd:element ref="message" />
310                                </xsd:choice>
311                        </xsd:sequence>
312                </xsd:complexType>
313               
314        </xsd:element>
315       
316        <xsd:element name="results">
317               
318                <xsd:annotation>
319                        <xsd:documentation><![CDATA[Contains a list of <result> tags.]]></xsd:documentation>
320                </xsd:annotation>
321               
322                <xsd:complexType>
323                        <xsd:sequence>
324                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
325                            <xsd:element ref="result" />
326                                </xsd:choice>
327                        </xsd:sequence>
328                </xsd:complexType>
329               
330        </xsd:element>
331       
332        <xsd:element name="result">
333               
334                <xsd:annotation>
335                        <xsd:documentation><![CDATA[Defines an additional event-handler to execute as part of the current request.  Can use the NAME attribute to determine whether or not a certain result should be executed, and the REDIRECT attribute to abort the current request and redirect to a different event handler.]]></xsd:documentation>
336                </xsd:annotation>
337               
338                <xsd:complexType>
339
340                        <xsd:attribute name="do" type="xsd:string" use="required">
341                                <xsd:annotation>
342                                        <xsd:documentation><![CDATA[(Required) - The NAME attribute of an event handler to add to this request.]]></xsd:documentation>
343                                </xsd:annotation>
344                        </xsd:attribute>                       
345                        <xsd:attribute name="name" type="xsd:string" use="optional">
346                                <xsd:annotation>
347                                        <xsd:documentation><![CDATA[(Optional) - If not set ''or set to an empty string'', the event handler declared in the DO attribute will always be added to the request.  If not empty, the event handler declared will only execute if a function in a Controller CFC uses the addResult() method of the Event API to add a result with the value of the NAME attribute.]]></xsd:documentation>
348                                </xsd:annotation>
349                        </xsd:attribute>
350                        <xsd:attribute name="redirect" type="xsd:string" use="optional">
351                                <xsd:annotation>
352                                        <xsd:documentation><![CDATA[(Optional, default = "false") - If true, a redirect will immediately redirect the entire request to the event handler declared in the DO attribute.  All state value will be maintained if session is enabled.]]></xsd:documentation>
353                                </xsd:annotation>
354                        </xsd:attribute>
355                        <xsd:attribute name="append" type="xsd:string" use="optional">
356                                <xsd:annotation>
357                                        <xsd:documentation><![CDATA[(Optional, default = "") -  Used to define a list of value names (from the viewstate) that should be appended to the URL.  ]]></xsd:documentation>
358                                </xsd:annotation>
359                        </xsd:attribute>
360                        <xsd:attribute name="preservestate" type="xsd:string" use="optional">
361                                <xsd:annotation>
362                                        <xsd:documentation><![CDATA[(Optional, default = "true") - If set to false and REDIRECT is set to true, then all state values will removed before redirecting to the event handler declared in the DO attribute.  If using this be sure that session management is enabled.]]></xsd:documentation>
363                                </xsd:annotation>
364                        </xsd:attribute>
365                        <xsd:attribute name="reset" type="xsd:string" use="optional">
366                                <xsd:annotation>
367                                        <xsd:documentation><![CDATA[(Optional, default = "false") - If set to true, any previously declared results of the same name will be erased.  This is only useful for redefining results added by scaffolds.]]></xsd:documentation>
368                                </xsd:annotation>
369                        </xsd:attribute>
370                               
371                </xsd:complexType>
372               
373        </xsd:element>
374       
375        <xsd:element name="after">
376               
377                <xsd:annotation>
378                        <xsd:documentation><![CDATA[Part of a typed event.]]></xsd:documentation>
379                </xsd:annotation>
380               
381                <xsd:complexType>
382                        <xsd:sequence>
383                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
384                            <xsd:element ref="broadcasts" />
385                            <xsd:element ref="results" />
386                            <xsd:element ref="views" />
387                                </xsd:choice>
388                        </xsd:sequence>
389                </xsd:complexType>
390               
391        </xsd:element>
392       
393        <xsd:element name="before">
394               
395                <xsd:annotation>
396                        <xsd:documentation><![CDATA[Part of a typed event.]]></xsd:documentation>
397                </xsd:annotation>
398               
399                <xsd:complexType>
400                        <xsd:sequence>
401                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
402                            <xsd:element ref="broadcasts" />
403                            <xsd:element ref="results" />
404                            <xsd:element ref="views" />
405                                </xsd:choice>
406                        </xsd:sequence>
407                </xsd:complexType>
408               
409        </xsd:element>
410       
411       
412        <xsd:element name="views">
413               
414                <xsd:annotation>
415                        <xsd:documentation><![CDATA[Contains a list of <include> tags. The <include> tags will be run in the order in which they are defined.]]></xsd:documentation>
416                </xsd:annotation>
417               
418                <xsd:complexType>
419                        <xsd:sequence>
420                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
421                    <xsd:element ref="view" />
422                                </xsd:choice>
423                        </xsd:sequence>
424                       
425                </xsd:complexType>
426               
427        </xsd:element>
428       
429        <xsd:element name="view">
430               
431                <xsd:annotation>
432                        <xsd:documentation><![CDATA[Defines a .CFM template to <cfinclude>, creating HTML that will be viewable by the user.
433                        Model-Glue will search the mappings listed in the ViewMappings setting (defined in the application's ColdSpring.xml file) in order, searching for the template defined in the TEMPLATE attribute.]]></xsd:documentation>
434                </xsd:annotation>
435
436                <xsd:complexType>
437       
438                        <xsd:sequence>
439                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
440                    <xsd:element ref="value" />
441                                </xsd:choice>
442                        </xsd:sequence>
443
444                    <xsd:attribute type="xsd:string" name="name" use="required">
445                        <xsd:annotation>
446                                        <xsd:documentation><![CDATA[(Required) - The name by which the rendered content will be known in the ViewCollection]]></xsd:documentation>
447                                </xsd:annotation>
448                        </xsd:attribute>
449                       
450                        <xsd:attribute type="xsd:string" name="template" use="required">
451                        <xsd:annotation>
452                                        <xsd:documentation><![CDATA[(Required) - The filename of a .CFM template inside one of the directories in the ViewMappings setting]]></xsd:documentation>
453                                </xsd:annotation>
454                        </xsd:attribute>
455                       
456                        <xsd:attribute type="xsd:string" name="append" use="optional">
457                        <xsd:annotation>
458                                        <xsd:documentation><![CDATA[(Optional, default = "false") - If an include by this NAME has already been rendered, should the content from this include be appended to the existing content or should it overwrite the existing content? (False will overwrite, True will append.)]]></xsd:documentation>
459                                </xsd:annotation>
460                        </xsd:attribute>
461                       
462               
463                </xsd:complexType>
464               
465        </xsd:element>
466       
467        <xsd:element name="value">
468               
469                <xsd:annotation>
470                        <xsd:documentation><![CDATA[A string value to set into the ViewState before the .CFM template in the current include is rendered. Its value may be accessed through the ViewState object in the View API.]]></xsd:documentation>
471                </xsd:annotation>
472               
473                <xsd:complexType>
474
475                        <xsd:attribute name="name" type="xsd:string" use="required">
476                                <xsd:annotation>
477                                        <xsd:documentation><![CDATA[(Required) - Defines the name of the argument.]]></xsd:documentation>
478                                </xsd:annotation>
479                        </xsd:attribute>
480                       
481                        <xsd:attribute name="value" type="xsd:string" use="required">
482                                <xsd:annotation>
483                                        <xsd:documentation><![CDATA[(Required) - Defines the value of this argument.]]></xsd:documentation>
484                                </xsd:annotation>
485                        </xsd:attribute>
486                       
487                        <xsd:attribute name="overwrite" type="xsd:string" use="optional">
488                                <xsd:annotation>
489                                        <xsd:documentation><![CDATA[(Optional, default = "false") - If set to true, this value will overwrite an existing same-named value in the ViewState.]]></xsd:documentation>
490                                </xsd:annotation>
491                        </xsd:attribute>
492                               
493                </xsd:complexType>
494               
495        </xsd:element>
496       
497        <xsd:element name="message">
498               
499                <xsd:annotation>
500                        <xsd:documentation><![CDATA[Defines a message to be broadcast during the execution on an event handler. Messages are broadcast in the order in which they are defined.]]></xsd:documentation>
501                </xsd:annotation>
502               
503                <xsd:complexType>
504                        <xsd:sequence>
505                        <xsd:choice minOccurs="0" maxOccurs="unbounded">
506                            <xsd:element ref="argument" />
507                                </xsd:choice>
508                        </xsd:sequence>
509
510                        <xsd:attribute name="name" type="xsd:string" use="required">
511                                <xsd:annotation>
512                                        <xsd:documentation><![CDATA[(Required) - The name of the message. The same message may be broadcast multiple times during a single event handler, with or without different sets of arguments. Any message-listener tags whose MESSAGE attribute value matches the value of attribute will execute the function registered via their FUNCTION attribute.]]></xsd:documentation>
513                                </xsd:annotation>
514                        </xsd:attribute>
515                               
516                </xsd:complexType>
517       
518        </xsd:element>
519       
520        <xsd:element name="setting">
521               
522                <xsd:annotation>
523                        <xsd:documentation><![CDATA[
524                        Used in Model-Glue XML fragments to define additional settings and by legacy Model-Glue 1.x applications to define settings.
525
526                        This tag was largely unused in Model-Glue 2, but may be used in Model-Glue 3 to define actionpacks.
527                       
528                        ==== Special Behavior ====
529                       
530                        A setting tag with a NAME attribute value of "viewMappings" will append its value to the list of existing viewMappings.
531                       
532                        A setting tag with a NAME attribute value of "helperMappings" will append its value to the list of existing helperMappings.
533                       
534                        A setting tag with a NAME attribute value of "beanMappings" will (ColdSpring) load the file defined into the BeanFactory or (ChiliBeans) append its value to the list of existing beanMappings.
535                       
536                        All other settings are simply set.
537                        ]]></xsd:documentation>
538                </xsd:annotation>
539               
540                <xsd:complexType>
541
542                        <xsd:attribute name="name" type="xsd:string" use="required">
543                                <xsd:annotation>
544                                        <xsd:documentation><![CDATA[(Required) - The name of the setting to set]]></xsd:documentation>
545                                </xsd:annotation>
546                        </xsd:attribute>
547                       
548                        <xsd:attribute name="value" type="xsd:string" use="required">
549                                <xsd:annotation>
550                                        <xsd:documentation><![CDATA[(Required) - The value of the setting]]></xsd:documentation>
551                                </xsd:annotation>
552                        </xsd:attribute>
553                               
554                </xsd:complexType>
555               
556        </xsd:element>
557       
558        <xsd:element name="argument">
559               
560                <xsd:annotation>
561                        <xsd:documentation><![CDATA[A string value passed to a function registered to listen for a given message as part of the function's Event argument. Its value can be acessed through the Event API's getArgument() method.]]></xsd:documentation>
562                </xsd:annotation>
563               
564                <xsd:complexType>
565
566                        <xsd:attribute name="name" type="xsd:string" use="required">
567                                <xsd:annotation>
568                                        <xsd:documentation><![CDATA[(Required) - Defines the name of the argument.]]></xsd:documentation>
569                                </xsd:annotation>
570                        </xsd:attribute>
571                       
572                        <xsd:attribute name="value" type="xsd:string" use="required">
573                                <xsd:annotation>
574                                        <xsd:documentation><![CDATA[(Required) - Defines the value of this argument.]]></xsd:documentation>
575                                </xsd:annotation>
576                        </xsd:attribute>
577                       
578                               
579                </xsd:complexType>
580               
581        </xsd:element>
582       
583</xsd:schema>
Note: See TracBrowser for help on using the browser.