#ICYMI: Data from 451 Research suggests the growing range and complexity of service providers’ product portfolios could make it harder for enterprises to reap multi-cloud rewards https://goo.gl/EN1noL #Technology #IoT
Microservices: Where Anything Is Possible
ICYMI: How Awesome Was 1999?
We were pre-tech bubble. We were pre-pendulum swinging too far towards governance and compliance and corrupting the tooling that was advancing us. We were pre-closing the doors to innovation in the name of safety. And, the best part, The Matrix was playing in theaters.
I promise, I don’t date myself with that movie reference for no reason. I bring up The Matrix because, at the end of the movie, Neo (the main character for those still in grade school when it came out) described a world without constraints. “… [I’m going to show you] a world without rules and controls, without borders or boundaries. A world where anything is possible.” This is the tech world today. The promise of The Matrix is being realized by the microservices movement. https://goo.gl/iUhnx5 #DataIntegration #ML
SAP UI5 – Simplified Utility Framework APIs – Input LiveChange Validate and Update
Generic Livechange Event for SAPUI5 Input control
Use cases of this blog/codebase –
* Validate and Update each character as and when the end-user types each character/digit
* The need for a generic framework/APIs
* Re-usable and Scalable codebase
Category: SAPUI5 Development
Code: XML and JavaScript
Files: *.view.xml and *.controller.js or any other utility.js
UI5 Controls:
* sap.m.Input
Events:
* Change, liveChange
Advantages:
* Generic API to Validate and Update Input field as and when the end-user types each character
* Re-usable and Scalable API
Generic LiveChange Event for SAPUI5 Input control – In View.xml Code
Generic LiveChange Event for SAPUI5 Input control – In Controller.js Code
onLiveChangeInputValidate: function(oEvent){ var inputValue = oEvent.getParameter(‘value’).trim(); var newValue = inputValue; //determine the value range that should be allowed var sCondition = oEvent.getSource().data()[“liveChangeAllow”]; sCondition = sCondition? sCondition: “”; switch (sCondition){ case ‘digits’: newValue = newValue.replace(/[^d]/g, “); break; case ‘characters’: // /^[A-Za-z]+$/; newValue = newValue.replace(/[d]/g, ”); break; case ‘uppercase’: newValue = newValue.toUpperCase().replace(/[d]/g, “); break; case ‘lowercase’: newValue = newValue.toLowerCase().replace(/[d]/g, ”); break; case ‘signfloat’: var firstchar = newValue[0]; newValue = newValue.replace(/[^d.]/g, “); if(firstChar == ’-’ || firstChar == ’+’){ newValue = firstChar + newValue; } break; case ‘CUSTOM_RULE’: break; default: break; } //determine max length to be allowed var maxLength = oEvent.getSource().data()["liveChangeMaxLength”]; if(maxLength){ newValue = newValue.substring(0,maxLength); } //warn on invalid input var msgOnInvalidInput = oEvent.getSource().data()[“liveChangeMsgOnInvalidInput”]; if(msgOnInvalidInput && (newValue != inputValue)){ for(var i=0;i http://bit.ly/2iGHyjw #SAP #SAPCloud #AI
