Class myfaces._impl.xhrCore._AjaxUtils
Defined in: _AjaxUtils.js.
Constructor Attributes | Constructor Name and Description |
---|---|
A set of helper routines which are utilized within our Ajax subsystem and nowhere else
TODO move this into a singleton, the current structure is
still a j4fry legacy we need to get rid of it in the long run
|
Method Attributes | Method Name and Description |
---|---|
appendIssuingItem(item, targetBuf)
appends the issuing item if not given already
|
|
encodeElement(element, targetBuf)
encodes a single input element for submission
|
|
encodeSubmittableFields(targetBuf, parentItem, partialIds)
determines fields to submit
|
Class Detail
myfaces._impl.xhrCore._AjaxUtils()
A set of helper routines which are utilized within our Ajax subsystem and nowhere else
TODO move this into a singleton, the current structure is
still a j4fry legacy we need to get rid of it in the long run
Method Detail
appendIssuingItem(item, targetBuf)
appends the issuing item if not given already
- Parameters:
- item
- targetBuf
encodeElement(element, targetBuf)
encodes a single input element for submission
- Parameters:
- {Node} element
- - to be encoded
- targetBuf
- - a target array buffer receiving the encoded strings
encodeSubmittableFields(targetBuf, parentItem, partialIds)
determines fields to submit
- Parameters:
- {Object} targetBuf
- - the target form buffer receiving the data
- {Node} parentItem
- - form element item is nested in
- {Array} partialIds
- - ids fo PPS