C_PageModule1.js 594 B

1234567891011121314151617181920212223242526272829303132
  1. define( function() {
  2. "use strict";
  3. function PageModule()
  4. {
  5. };
  6. PageModule.prototype.load = function( oPage )
  7. {
  8. console.log( "PageModule.load" );
  9. };
  10. PageModule.prototype.show = function( oPage )
  11. {
  12. console.log( "PageModule.show" );
  13. var oControl = oPage.getControlByName( "Value - Product line" );
  14. console.log( oControl ? "found control" : "control not found" );
  15. //oControl.addValues
  16. };
  17. PageModule.prototype.hide = function( oPage )
  18. {
  19. console.log( "PageModule.hide" );
  20. };
  21. PageModule.prototype.destroy = function( oPage )
  22. {
  23. console.log( "PageModule.destroy" );
  24. };
  25. return PageModule;
  26. });