Built-In Namespace _global_
Field Attributes | Field Name and Description |
---|---|
Keep looking for other {index}
|
|
List of functions that should be executed every time a YUI module
reports itself.
|
|
Replace {index} by param value
|
|
Keeps the version info for all YUI modules that have reported themselves
|
|
URL encode / decode
http://www.webtoolkit.info/
|
Method Attributes | Method Name and Description |
---|---|
checkReferer(tooltip, refererLink, oldTop, oldLeft)
Compare old and new position from HTML referer (link).
|
|
<static> |
displayTab(tab)
Returns a recusiv view of some array nested
|
extendsClass(childClass, arguments)
extends the classes passed as parameter,
need to call superClass in the constructor of childClass
|
|
getMsXmlObject(object)
Get Microsoft's XmlHttpRequest
|
|
<static> |
getVersion(name)
Returns the version data for the specified module:
|
<private> |
Do NOT modify or events wont be triggered
|
menubar_ieHover(id)
****************************************************************************
Internet Explorer hover hack
****************************************************************************
|
|
superClass(child, parentClass, arguments)
call the constructor of the parent class extended,
need a static call of extendsClass
|
|
superExtendClass(child, childClass, parentClass)
extends parentClass and call the constructor of the parent class
|
|
<private> |
swapVisibility(elem)
Swap an element visiblity.
|
Retourne un toString d'un objet
|
|
<static> |
SweetDevRia_downloadResource(path, name, contentType, contextId)
Force the download of a resource, not displaying it into the browser
|
<private> <static> |
SweetDevRia_exportExcel(exportId, exportMode, exportdRowIds, contextId)
Process the export excel by calling the associated action, on server side
|
SweetDevRia_get(key, repositoryKey)
Return an object into a specific repository (context)
|
|
<static> |
SweetDevRia_getComponent(componentId)
Return a SweetDevRia instance according to its id
|
<static> |
SweetDevRia_getInstances(className)
Get all instances of a className
|
<private> <static> |
SweetDevRia_register(the)
Register a new component in the repository
|
SweetDevRia_remove(key, repositoryKey)
Delete value
|
|
<private> <static> |
SweetDevRia_removeFromContext(contextId, componentId)
Unregister a component from a context.
|
SweetDevRia_removeInstance(className, componentId)
Remove an instance in a repository relative to a className
|
|
SweetDevRia_set(key, repositoryKey, value)
Enregistre une valeur d'une variable stock?e
|
|
SweetDevRia_setInstance(className, componentId)
Set an instance in a repository relative to a className
|
|
<private> <static> |
SweetDevRia_setToContext(contextId, componentId)
Register a component into a context.
|
<private> <static> |
SweetDevRia_unregister(component)
Unregister a component in the repository
|
<private> <static> |
SweetDevRia_unregisterContext(contextId)
Unregister a context in the repository.
|
<private> <static> |
SweetDevRia_Zone_evalJS(zone)
Evaluates the javascript of a zone on a server callback
|
SweetDevRiaLog_debug(message, param1, param2, param3, param4, param5)
Print debug message
|
|
SweetDevRiaLog_error(message, param1, param2, param3, param4, param5)
Print error message
|
|
SweetDevRiaLog_fatal(message, param1, param2, param3, param4, param5)
Print fatal message
|
|
SweetDevRiaLog_getMessage(message, param1, param2, param3, param4, param5)
Return messages after fill optional parameter get from MessageHelper
|
|
SweetDevRiaLog_info(message, param1, param2, param3, param4, param5)
Print info message
|
|
SweetDevRiaLog_warn(message, param1, param2, param3, param4, param5)
Print warn message
|
Field Detail
idx
Keep looking for other {index}
Defined in: SweetDevRia_MessageHelper.js.
Defined in: SweetDevRia_MessageHelper.js.
{Function[]}
listeners
List of functions that should be executed every time a YUI module
reports itself.
Defined in: yahoo.js.
Defined in: yahoo.js.
message
Replace {index} by param value
Defined in: SweetDevRia_MessageHelper.js.
Defined in: SweetDevRia_MessageHelper.js.
{Object[]}
modules
Keeps the version info for all YUI modules that have reported themselves
Defined in: yahoo.js.
Defined in: yahoo.js.
Url
URL encode / decode
http://www.webtoolkit.info/
Defined in: Ajax.js.
Defined in: Ajax.js.
Method Detail
checkReferer(tooltip, refererLink, oldTop, oldLeft)
Compare old and new position from HTML referer (link).
Different positions means that the referer has moved from initial position and that the tooltip is no more well set on page.
And so, we must close it.
Defined in: ClickToOpen.js.
Defined in: ClickToOpen.js.
- Parameters:
- {String} tooltip
- Tooltip JavaScript object Id.
- {String} refererLink
- HTML referer link Id to calculate new position.
- {String} oldTop
- Old HTML referer link Y position.
- {String} oldLeft
- Old HTML referer link X position.
<static>
{String}
displayTab(tab)
Returns a recusiv view of some array nested
Defined in: Array.js.
Defined in: Array.js.
- Parameters:
- {Array} tab
- the array to get a view of
- Returns:
- the string resulting of the tab concatenation
extendsClass(childClass, arguments)
extends the classes passed as parameter,
need to call superClass in the constructor of childClass
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- childClass
- the child class
- arguments
- (others params) all the classes to extends
getMsXmlObject(object)
Get Microsoft's XmlHttpRequest
Defined in: Ajax.js.
Defined in: Ajax.js.
- Parameters:
- object
<static>
{Object}
getVersion(name)
Returns the version data for the specified module:
Defined in: yahoo.js.
- name:
- The name of the module
- version:
- The version in use
- build:
- The build number in use
- versions:
- All versions that were registered
- builds:
- All builds that were registered.
- mainClass:
- An object that was was stamped with the current version and build. If mainClass.VERSION != version or mainClass.BUILD != build, multiple versions of pieces of the library have been loaded, potentially causing issues.
Defined in: yahoo.js.
- Parameters:
- {String} name
- the name of the module (event, slider, etc)
- Returns:
- {Object} The version info
<private>
KeyListener_handleEvent(evt)
Do NOT modify or events wont be triggered
Defined in: KeyListener.js.
Defined in: KeyListener.js.
- Parameters:
- evt
menubar_ieHover(id)
****************************************************************************
Internet Explorer hover hack
****************************************************************************
Defined in: MenuBar.js.
Defined in: MenuBar.js.
- Parameters:
- id
superClass(child, parentClass, arguments)
call the constructor of the parent class extended,
need a static call of extendsClass
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- child
- the current instance (this)
- parentClass
- the parent class
- arguments
- (others params)
superExtendClass(child, childClass, parentClass)
extends parentClass and call the constructor of the parent class
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- child
- the current instance (this)
- childClass
- the child class
- parentClass
- the parent class to extends
<private>
swapVisibility(elem)
Swap an element visiblity. Show it if it's hide, or hide if it's visible.
Defined in: Grid.js.
Defined in: Grid.js.
- Parameters:
- {HtmlElement} elem
- Html elmenent to swap
{String}
SweetDevRia_displayProperties(objet)
Retourne un toString d'un objet
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {Object} objet
- dont on souhaite le toString
- Returns:
- une chaine contenant les diff?rentes valeurs de l'objet
<static>
SweetDevRia_downloadResource(path, name, contentType, contextId)
Force the download of a resource, not displaying it into the browser
Defined in: DownloadResources.js.
Defined in: DownloadResources.js.
- Parameters:
- {String} path
- the full path of the url to the resource to download
- {String} name
- the name of the resource displayed on download
- {String} contentType
- optional content type of the resource to download
- {String} contextId
- optional the id of the current context
<private> <static>
SweetDevRia_exportExcel(exportId, exportMode, exportdRowIds, contextId)
Process the export excel by calling the associated action, on server side
Defined in: ExportExcel.js.
Defined in: ExportExcel.js.
- Parameters:
- {String} exportId
- the exportId on the server that will be requested
- {int} exportMode
- Define if we export in wysiwyg mode or model mode. Possible values are SweetDevRia.Grid.WYSIWYG_EXPORT and SweetDevRia.Grid.MODEL_EXPORT
- {Array} exportdRowIds
- Array containing all exported row ids. If null, all rows will be exported.
- contextId
{RiaComponent}
SweetDevRia_get(key, repositoryKey)
Return an object into a specific repository (context)
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} key
- name of the key of the component to look for
- {String} repositoryKey
- Optional name of the repository key
- Returns:
- the RiaComponent component corresponding to the key, or null if none is found
<static>
{RiaComponent}
SweetDevRia_getComponent(componentId)
Return a SweetDevRia instance according to its id
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} componentId
- the id of the component to return.
- Returns:
- a registered SweetDevRia instance according to its id
<static>
{Array}
SweetDevRia_getInstances(className)
Get all instances of a className
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} className
- the name of the class to look for
- Returns:
- an array of Ria components ids
<private> <static>
SweetDevRia_register(the)
Register a new component in the repository
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {Object} the
- component to register. This component must extends SweetDevRia.RiaComponent
SweetDevRia_remove(key, repositoryKey)
Delete value
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} key
- nom de la variable ? sauvebarder ou modifier
- {String} repositoryKey
- nom d'une r?f?rentiel ou est stock? la variable ? sauvegarder ou modifier
<private> <static>
SweetDevRia_removeFromContext(contextId, componentId)
Unregister a component from a context.
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} contextId
- the context id containing this component.
- {String} componentId
- the component id to unregister from its context.
SweetDevRia_removeInstance(className, componentId)
Remove an instance in a repository relative to a className
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} className
- the name of the class to store
- {String} componentId
- the component id to remove
SweetDevRia_set(key, repositoryKey, value)
Enregistre une valeur d'une variable stock?e
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} key
- nom de la variable ? sauvebarder ou modifier
- {String} repositoryKey
- nom d'une r?f?rentiel ou est stock? la variable ? sauvegarder ou modifier
- {Object} value
- nouvelle valeur de la variable stock?e
SweetDevRia_setInstance(className, componentId)
Set an instance in a repository relative to a className
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} className
- the name of the class to store
- {String} componentId
- the component id to store
<private> <static>
SweetDevRia_setToContext(contextId, componentId)
Register a component into a context.
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} contextId
- the context id containing this component.
- {String} componentId
- the component id to register in its context.
<private> <static>
SweetDevRia_unregister(component)
Unregister a component in the repository
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {Object} component
- the component to unregister. This component must extends SweetDevRia.RiaComponent
<private> <static>
SweetDevRia_unregisterContext(contextId)
Unregister a context in the repository.
For all component in a context, this function destroy it then unregister it
Defined in: SweetDevRia.js.
Defined in: SweetDevRia.js.
- Parameters:
- {String} contextId
- the context id to unregister.
<private> <static>
SweetDevRia_Zone_evalJS(zone)
Evaluates the javascript of a zone on a server callback
Defined in: Zone.js.
Defined in: Zone.js.
- Parameters:
- zone
SweetDevRiaLog_debug(message, param1, param2, param3, param4, param5)
Print debug message
Defined in: SweetDevRia_Log4Js.js.
Defined in: SweetDevRia_Log4Js.js.
- Parameters:
- {String} message
- Message to return after completion
- {String} param1
- Value for field {0} for message @key
- {String} param2
- Value for field {1} for message @key
- {String} param3
- Value for field {2} for message @key
- {String} param4
- Value for field {3} for message @key
- {String} param5
- Value for field {4} for message @key
SweetDevRiaLog_error(message, param1, param2, param3, param4, param5)
Print error message
Defined in: SweetDevRia_Log4Js.js.
Defined in: SweetDevRia_Log4Js.js.
- Parameters:
- {String} message
- Message to return after completion
- {String} param1
- Value for field {0} for message @key
- {String} param2
- Value for field {1} for message @key
- {String} param3
- Value for field {2} for message @key
- {String} param4
- Value for field {3} for message @key
- {String} param5
- Value for field {4} for message @key
SweetDevRiaLog_fatal(message, param1, param2, param3, param4, param5)
Print fatal message
Defined in: SweetDevRia_Log4Js.js.
Defined in: SweetDevRia_Log4Js.js.
- Parameters:
- {String} message
- Message to return after completion
- {String} param1
- Value for field {0} for message @key
- {String} param2
- Value for field {1} for message @key
- {String} param3
- Value for field {2} for message @key
- {String} param4
- Value for field {3} for message @key
- {String} param5
- Value for field {4} for message @key
{String}
SweetDevRiaLog_getMessage(message, param1, param2, param3, param4, param5)
Return messages after fill optional parameter get from MessageHelper
Defined in: SweetDevRia_Log4Js.js.
Defined in: SweetDevRia_Log4Js.js.
- Parameters:
- {String} message
- Message to return after completion
- {String} param1
- Value for field {0} for message @key
- {String} param2
- Value for field {1} for message @key
- {String} param3
- Value for field {2} for message @key
- {String} param4
- Value for field {3} for message @key
- {String} param5
- Value for field {4} for message @key
- Returns:
- Completed message, else null.
SweetDevRiaLog_info(message, param1, param2, param3, param4, param5)
Print info message
Defined in: SweetDevRia_Log4Js.js.
Defined in: SweetDevRia_Log4Js.js.
- Parameters:
- {String} message
- Message to return after completion
- {String} param1
- Value for field {0} for message @key
- {String} param2
- Value for field {1} for message @key
- {String} param3
- Value for field {2} for message @key
- {String} param4
- Value for field {3} for message @key
- {String} param5
- Value for field {4} for message @key
SweetDevRiaLog_warn(message, param1, param2, param3, param4, param5)
Print warn message
Defined in: SweetDevRia_Log4Js.js.
Defined in: SweetDevRia_Log4Js.js.
- Parameters:
- {String} message
- Message to return after completion
- {String} param1
- Value for field {0} for message @key
- {String} param2
- Value for field {1} for message @key
- {String} param3
- Value for field {2} for message @key
- {String} param4
- Value for field {3} for message @key
- {String} param5
- Value for field {4} for message @key