Class Index | File Index

Classes


Class Alfresco.module.DataListActions

Actions module for Data Lists
Field Summary
Field Attributes Field Name and Description
 
Object literal for default AJAX request configuration
 
Flag indicating whether module is ready to be used.
Method Summary
Method Attributes Method Name and Description
 
ACTION: Generic action.
 
Fired by YUILoaderHelper when required component script files have
Field Detail
{object} defaultConfig
Object literal for default AJAX request configuration

{boolean} isReady
Flag indicating whether module is ready to be used.
Flag is set when all YUI component dependencies have loaded.
Method Detail
{boolean} genericAction()
ACTION: Generic action.
Generic DataList action based on passed-in parameters
Parameters:
action.success.event.name
{string} Bubbling event to fire on success
action.success.event.obj
{object} Bubbling event success parameter object
action.success.message
{string} Timed message to display on success
action.success.callback.fn
{object} Callback function to call on success.
function(data, obj) where data is an object literal containing config, json, serverResponse
action.success.callback.scope
{object} Success callback function scope
action.success.callback.obj
{object} Success callback function object passed to callback
action.failure.event.name
{string} Bubbling event to fire on failure
action.failure.event.obj
{object} Bubbling event failure parameter object
action.failure.message
{string} Timed message to display on failure
action.failure.callback.fn
{object} Callback function to call on failure.
function(data, obj) where data is an object literal containing config, json, serverResponse
action.failure.callback.scope
{object} Failure callback function scope
action.failure.callback.obj
{object} Failure callback function object passed to callback
action.webscript.stem
{string} optional webscript URL stem
default: Alfresco.constants.PROXY_URI + "slingshot/datalists/action/"
action.webscript.name
{string} data webscript URL name
action.webscript.method
{string} HTTP method to call the data webscript on
action.webscript.queryString
{string} Optional queryString to append to the webscript URL
action.webscript.params.nodeRef
{string} nodeRef of target item
action.wait.message
{string} if set, show a Please wait-style message during the operation
action.config
{object} optional additional request configuration overrides
Returns:
{boolean} false: module not ready

onComponentsLoaded()
Fired by YUILoaderHelper when required component script files have
been loaded into the browser.

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:26 GMT-0000 (GMT)