This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
WSO2 Carbon UUF 1.0.0-M4
Pre-release
Pre-release
We are happy to announce the fourth milestone release of WSO2 Unified UI Framework.
In this release, we support,
- Following Handlebars helpers.
{{css "/css/my-styles.css"}}
{{headerJs "/js/my-top-script.js"}}
{{footerJs "/js/my-bottom-script.js"}}
{{public "/img/my-photo.jpg}}
{{headerTitle "Settings | Store"}}
{{#headerOther}} ... {{/headerOther}}
- Following variables are accessible in Handlebars temlates.
@app.context
- Application context e.g. "/pets-store"@uriParams
- URI parameters e.g. /pets-store/pets/{id}@params
- Only for fragments. Passed parameters when including the fragment e.g.{{includeFragment "f1" param1="a" param2="b"}}
- Following variables are accessible via the
context
parameters of theonRequest
JS function.context.app.context
- Application context e.g. "/pets-store"context.uriParams
- URI parameters e.g. /pets-store/pets/{id}context.request
- Current request as aio.netty.handler.codec.http.HttpRequest
object. - Server-side JS scripts are executes in OSGi mode.
- Carbon UUF Maven Plugin is used to build samples.