Namespace jsf
jsf
Defined in: jsf.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Field Attributes | Field Name and Description |
---|---|
<static> <constant> |
jsf.implversion
Implementation version as specified within the jsf specification.
|
Method Attributes | Method Name and Description |
---|---|
<static> |
jsf.getProjectStage()
This method is responsible for the return of a given project stage as defined
by the jsf specification.
|
<static> |
jsf.getViewState(formElement)
collect and encode data for a given form element (must be of type form)
find the javax.faces.ViewState element and encode its value as well!
return a concatenated string of the encoded values!
|
Field Detail
<static> <constant>
jsf.implversion
Implementation version as specified within the jsf specification.
A number increased with every implementation version
and reset by moving to a new spec release number
Method Detail
<static>
{String}
jsf.getProjectStage()
This method is responsible for the return of a given project stage as defined
by the jsf specification.
Valid return values are:
- "Production"
- "Development"
- "SystemTest"
- "UnitTest"
- Returns:
- {String} the current project state emitted by the server side method: javax.faces.application.Application.getProjectStage()
<static>
jsf.getViewState(formElement)
collect and encode data for a given form element (must be of type form)
find the javax.faces.ViewState element and encode its value as well!
return a concatenated string of the encoded values!
- Parameters:
- formElement
- Throws:
- an exception in case of the given element not being of type form! https://issues.apache.org/jira/browse/MYFACES-2110