Page 1 of 1

WebClientUtils for ngClient

PostPosted: Tue Jan 28, 2020 7:25 pm
by sbutler
We've started on a ngClientUtils project to replicate some of the popular functions available in the WebClientUtils plugins. This can help make less work when upgrading an existing web client codebase to NG Client.

So far we have these:
executeClientSideJS
addCssReference
addJsReference
generateCallbackScript
addCallback
getElementMarkupId
removeJsReference
setRendered
setExtraCssClass
removeExtraCssClass

They are intended to be a one-to-one swap out of plugins.WebClientUtils.* to plugins.NgClientUtils.*

Instructions on how to add to your WPM to install this NG Service are here: http://servoycomponents.com/components/web-components

Its a very early stage project, so feel free to give feedback. Ideally solutions should undergo some re-architecture during an NG Client upgrade, and phase out some of the style of doing things in the Web Client, but until that is done, hopefully this plugin can help those more easily make the transition.