רשומות

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

Coding Physical Model (Part -2 )

Read Part -1 Now let�s take a look in to the code( that posted in lastpost ) one by one.   I have given three color for code. Red indicated that it is mandatory. Black indicates comment and green indicates custom code. Physical Model /*---------------------------Coding starts------------------------*/ if( typeof( SiebelAppFacade. ValidatePM ) === "undefined" ){   /* No Need to worry about this line. This line make sure that the same definition is not yet defined. */                 SiebelJS.Namespace( "SiebelAppFacade.ValidatePM" ); /* SiebelJS.Namespace( "SiebelAppFacade.ValidatePM" ); This will create new name space called ValidatePM. */                 SiebelApp.S_App.RegisterConstructorAgainstKey("ValidatePModel","SiebelAppFacade.ValidatePM" ); /*Above code will register our constructor It s format is � RegisterConstruct...

Coding Physical Model (Part -2 )

Read Part -1 Now let’s take a look in to the code( that posted in lastpost ) one by one.   I have given three color for code. Red indicated that it is mandatory. Black indicates comment and green indicates custom code. Physical Model /*---------------------------Coding starts------------------------*/ if( typeof( SiebelAppFacade. ValidatePM ) === "undefined" ){   /* No Need to worry about this line. This line make sure that the same definition is not yet defined. */                 SiebelJS.Namespace( "SiebelAppFacade.ValidatePM" ); /* SiebelJS.Namespace( "SiebelAppFacade.ValidatePM" ); This will create new name space called ValidatePM. */                 SiebelApp.S_App.RegisterConstructorAgainstKey("ValidatePModel","SiebelAppFacade.ValidatePM" ); /*Above code will register our constructor It s format is “ RegisterConstruct...