רשומות

מוצגים פוסטים עם התווית physical render

adding voice input in siebel openUI :: Physical Render experiement

תמונה
Please Note: Here we are using a webkit property. That means this feature will work only in google chrome. Google chrome supports it's own voice search property. We can add this property to our application by adding "x-webkit-speech" in our input fields. Here we can create a physical render and implement this feature. <!-------------------CODE Begins----------------------------!> if( typeof( SiebelAppFacade.GoogleVoicePR ) === "undefined" ){     SiebelJS.Namespace( "SiebelAppFacade.GoogleVoicePR" );         SiebelApp.S_App.RegisterConstructorAgainstKey( "GoogleVoicePRenderer", "SiebelAppFacade.GoogleVoicePR" );         SiebelAppFacade.GoogleVoicePR = ( function(){                         function GoogleVoicePR( pm ){             SiebelAppFacade.GoogleVoi...

Coding Physical Render(Part -3)

 Read Part -1 Read Part-2  I have given three color for code. Red indicated that it is mandatory. Black indicates comment and green indicates custom code. if( typeof( SiebelAppFacade.ValidatePR ) === "undefined" ){     SiebelJS.Namespace( "SiebelAppFacade.ValidatePR" );         SiebelApp.S_App.RegisterConstructorAgainstKey( "ValidatePRenderer", "SiebelAppFacade.ValidatePR" );         SiebelAppFacade.ValidatePR = ( function(){                                                 function ValidatePR( pm ){             SiebelAppFacade.ValidatePR.superclass.constructor.call( this, pm );         ...

Coding Physical Render(Part -3)

 Read Part -1 Read Part-2  I have given three color for code. Red indicated that it is mandatory. Black indicates comment and green indicates custom code. if( typeof( SiebelAppFacade.ValidatePR ) === "undefined" ){     SiebelJS.Namespace( "SiebelAppFacade.ValidatePR" );         SiebelApp.S_App.RegisterConstructorAgainstKey( "ValidatePRenderer", "SiebelAppFacade.ValidatePR" );         SiebelAppFacade.ValidatePR = ( function(){                                                 function ValidatePR( pm ){             SiebelAppFacade.ValidatePR.superclass.constructor.call( this, pm );         ...

Introduction to Physical Model & Physical Render in Siebel Open UI

Before looking into details we can discuss a real time situation. Normally Siebel will not validate whether email is in right format or not.   So here we can implement a small validation using this Physical model and physical render. Remember one thing, I am just explain a situation for your understanding.. Actually we can do many customizations like changing color, theme, handling any events� by using this� Our validation (Email Validation) should work whenever the user leaves his control from email field with a change in existing value. That means we need to catch an event called FieldChange .   Our Physical model will catch that change in email field. Here we can validate it(Whether email is in right format or not), but for better understanding we can validate this in our physical render file. So we need to pass this information from Physical model   to physical render file right?   To do this we need to keep a variable (property) let say �isEmailSet�, in Physi...

Introduction to Physical Model & Physical Render in Siebel Open UI

Before looking into details we can discuss a real time situation. Normally Siebel will not validate whether email is in right format or not.   So here we can implement a small validation using this Physical model and physical render. Remember one thing, I am just explain a situation for your understanding.. Actually we can do many customizations like changing color, theme, handling any events… by using this… Our validation (Email Validation) should work whenever the user leaves his control from email field with a change in existing value. That means we need to catch an event called FieldChange .   Our Physical model will catch that change in email field. Here we can validate it(Whether email is in right format or not), but for better understanding we can validate this in our physical render file. So we need to pass this information from Physical model   to physical render file right?   To do this we need to keep a variable (property) let say “isEmailSet”, in Physi...