This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
WSO2 Carbon UUF 1.0.0-M7
Pre-release
Pre-release
We are happy to announce the seventh milestone release of WSO2 Unified UI Framework. In this release, we have migrated to MSF4J 2.1.0 version.
Changes List:
- Following JS functions are added.
module("module-name")
- Loads the JS file '/modules/module-name.js' in your Component into your calling JS. This should be only used outside of the
onRequest
function to avoid loading the module JS over and over again.
- Loads the JS file '/modules/module-name.js' in your Component into your calling JS. This should be only used outside of the
sendToClient("clientSideName", obj)
- Safely sends the variable
obj
as a JSON to the client-side and you can access it withclientSideName
name.
- Safely sends the variable
Log.info(obj)
,Log.debug(obj)
,Log.trace(obj)
,Log.warn(obj)
, andLog.error(obj)
- Logs the given object.
- Following JS function have been removed.
- 'setAppTheme' and 'getAppTheme'
- Following Handlebars helpers are added,
{{t "key.to.msg.string"}}
- Gives the i18n functionality
- Following Handlebars variables have been renamed.
- '@app.context' -->
@contextPath
- '@app.config' -->
@config
- '@app.context' -->
- Now UUF can,
- Reload edited files on-the-fly when the deveoper mode is enabled. To enable the dev mode, start the Carbon server with
-Ddevmode
flag. - Deploy zip artifacts (Apps).
- Handle POST request along with file uploading.
- Render plain HTML files (in Pages for Fragments) with 'uuf-renderablecreator-html' plugin.
- Reload edited files on-the-fly when the deveoper mode is enabled. To enable the dev mode, start the Carbon server with
- Optimized static file serving.
- Bug fixes.
- More samples.