var i18n = sap.ui.getCore().getModel('i18n'); var msg = i18n.getProperty('msg_defined_in_18nproperties_file'); jQuery.sap.require("sap.ui.commons.MessageBox"); sap.ui.commons.MessageBox.show(msg, sap.ui.commons.MessageBox.Icon.WARNING,i18n.getProperty('title_defined_in_18nproperties_file'), [sap.ui.commons.MessageBox.Action.YES, sap.ui.commons.MessageBox.Action.NO], function( sResult ){ if(sResult == 'YES') { //... } }, [sap.ui.commons.MessageBox.Action.YES, sap.ui.commons.MessageBox.Action.NO]);
Monday, October 27, 2014
Display sapui5 yes-no popup dialog
Wednesday, October 8, 2014
django-compressor on google app engine
Small tip: django-compressor requires that your static folder is readable by the application. This is configured in your app.yaml:
handlers: - url: /static static_dir: static application_readable: TrueOtherwise you'll get an empty manifest.json file, which means offline compressed files are not found.
Subscribe to:
Posts (Atom)