Posts

Showing posts from June, 2015

Siebel Open UI - Reload CSS without Page Refresh

Image
For all the Siebel Open UI developers here is a must have chrome extension for reloading CSS with out refreshing the page.  Once the extension is installed right click on the page and select Reload CSS. All the CSS from web server would loaded with out page refresh. Enjoy Development !!!!

Siebel Problem with isNAN eScript

Recently I was working with a requirement where the field needs to be validated to accept only numeric values. This requirement looked to be a simple one. Adding a validation on the PreSetFieldValue of the Business Component solved the problem. Below is the code added ............................... ........... if(isNaN(FieldValue){            TheApplication().RaiseErrorText("Sorry, invalid number, please enter numbers alone."); } ....... Thats it.... Now when testing all looked fine until accidentally I entered 123123e. There was no error thrown and the value was accepted. How ever this is not what the code is suppose to be doing. So thought of getting in deeper, tested with 88779e no error thrown, then with 2341209d error thrown. So "e" at the end was the killer. Some how a number ending with e is considered as a infinite number (not sure if I am correct). As an alternative and get rid of this scenario changed the code as below and it worked l