This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Spring context XML: | |
<!-- expose specific properties to application --> | |
<bean id="applicationProperties" class="org.springframework.beans.factory.config.PropertiesFactoryBean"> | |
<property name="singleton" value="true" /> | |
<property name="properties"> | |
<props> | |
<prop key="frontleaf.enabled">${frontleaf.enabled}</prop> | |
<prop key="frontleaf.streamname">${frontleaf.streamname}</prop> | |
</props> | |
</property> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
define("my/WidgetName", | |
[ "dojo/_base/declare", | |
"dijit/_WidgetBase", | |
"dijit/_TemplatedMixin", | |
"dijit/_WidgetsInTemplateMixin", | |
"dojo/text!./templates/WidgetTemplate.html"], function(declare, _WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin, template) { | |
return declare("my.WidgetName", [_WidgetBase, _TemplatedMixin, _WidgetsInTemplateMixin], { | |
templateString: template, | |