Changeset 8403
- Timestamp:
- 04/10/08 23:16:06 (6 months ago)
- Files:
-
- plugins/ckWebServicePlugin/trunk/README (modified) (4 diffs)
- plugins/ckWebServicePlugin/trunk/package.xml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/ckWebServicePlugin/trunk/README
r8152 r8403 45 45 # set the persistence mode [optional] 46 46 persist: %SOAP_PERSISTENCE_SESSION% 47 # set wether or not action views should be rendered as normal [optional] 48 render: off 47 49 # set the custom method every action class implements to get the result of the action [optional] 48 50 result_callback: getSoapResult … … 72 74 - second 73 75 - ... 76 # set for each action wether or not action views should be rendered as normal, if this isn't set for an action the value from `ck_web_service_plugin: render` in `app.yml` is used 77 soap_render_map: 78 # the action name [mandatory] 79 test: on 74 80 # the name of the action member, which contains the result [optional] 75 81 soap_return_key: result_key … … 204 210 205 211 This default getter has the following behavior: 206 * if only one variable exists in the actions parameter holder (set via ''$actionInstance->var = 'some value';''), this variable is returned 207 * if a default key into the parameter holder is configured using ''soap_return_key'' in the ''module.yml'' ('''Attention:''' if this is not configured ''result'' is assumed) and this key exists its corresponding value is returned 208 * if both approaches fail nothing is returned 212 * when rendering is enable for the action (depending on configuration in ''module.yml'' and ''app.yml''): 213 * the rendered view is returned 214 * when rendering is disabled: 215 * if only one variable exists in the actions parameter holder (set via ''$actionInstance->var = 'some value';''), this variable is returned 216 * if a default key into the parameter holder is configured using ''soap_return_key'' in the ''module.yml'' ('''Attention:''' if this is not configured ''result'' is assumed) and this key exists its corresponding value is returned 217 * if both approaches fail nothing is returned 209 218 210 219 The described mechanism should be an easy to use, but powerfull way for you to get the result of an action. … … 245 254 246 255 * decide how to handle redirects 247 * add the posibility to choose wether rendering is bypassed or not (per app / per module / per action)248 256 * switch to symfony 1.1 (change the ''build-wsdl'' task, ...) 249 257 * write tests plugins/ckWebServicePlugin/trunk/package.xml
r8153 r8403 11 11 <active>yes</active> 12 12 </lead> 13 <date>2008-0 3-29</date>13 <date>2008-04-10</date> 14 14 <version> 15 <release>1. 1.3</release>16 <api>1. 1.3</api>15 <release>1.2.0</release> 16 <api>1.2.0</api> 17 17 </version> 18 18 <stability>