Overview
Other MyFaces Extensions
- ExtVal
- Ext-Script
- [Orchestra]
- [Portlet Bridge]
Community
Development
Sponsorship
Your browser does not support iframes
The scripting module provides a SPI for supporting additional/custom scripting languages.
An implementation links an implementation of org.apache.myfaces.extensions.cdi.scripting.api.language.Language
with the names known by the javax.script.ScriptEngineManager
. This mechanism allows to use type-safe injection (e.g. @Inject @ScriptLanguage(JavaScript.class) private ScriptExecutor scriptExecutor;
)
Such an interpreter allows e.g. to add support EL-Expressions within the scripts. Before a script gets evaluated the interpreter gets invoked to transform the script.