|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object | +--CAF.Ajax
Utilities for use with the standard f:ajax tag
Defined in core.js
Constructor Summary | |
CAF.Ajax
()
|
Method Summary | |
<static> void
|
afterUpdate(id)
Do some extra activities after an element has been updated 1. |
<static> Object
|
beforeSubmit(event)
This function is usually used as the "onclick" handler of the command control. |
<static> Object
|
clientSideValidate(event)
Performs Client-Side validation (when enabled). |
<static> void
|
onError(data)
This function is usually used as the "onerror" handler of the CAF.Ajax.f = ajax;tag. |
<static> void
|
onEvent(data, eventType)
This function is usually used as the "onevent" handler of the CAF.Ajax.f = ajax;tag. |
<static> Object
|
raiseActionEvent(event)
A CAF.Command.actionListener event is raised to notify any listeners that we are about to invoke the action. |
<static> void
|
startProgress(data)
Begin the progress overlay for the elements being refreshed |
<static> void
|
stopProgress(data, eventType)
End the progress overlay for the elements being refreshed |
Constructor Detail |
CAF.Ajax()
Method Detail |
<static> void afterUpdate(id)
id
- the id of the element that was just updated
<static> Object beforeSubmit(event)
event
- the click event that triggered the call
<static> Object clientSideValidate(event)
event
- the event that triggered the call
<static> void onError(data)
<static> void onEvent(data, eventType)
data
- the data object from the ajax lifecycle
eventType
- if the CAF.Ajax.f = ajax;call is not for the 'onclick' event, specify the event type as an argument so it can help resolve what elements were in progress.
<static> Object raiseActionEvent(event)
event
- the event that triggered the call
<static> void startProgress(data)
data
- the data object from the ajax lifecycle
<static> void stopProgress(data, eventType)
data
- the data object from the ajax lifecycle
eventType
- if the CAF.Ajax.f = ajax;call is not for the 'onclick' event, specify the event type as an argument so it can resolve what elements were in progress.
|
CAF Shared JavaScript | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |