I have a zul file running on a localserver (localhost:8080) that uses a JavaScript file stored in a separate local server (localhost:3000):
<script type="text/javascript" src="http://localhost:3000/javascript/bower_components/angular/angular.js"></script>
If I want to place the url of the separate local server in a properties file, what is the best approach for doing so? I have tried to add a placeholder:
<script type="text/javascript" src="${graph.widget.url}/javascript/bower_components/angular/angular.js"></script>
then add in the properties file:
graph.widget.url=http://localhost:3000
and then add in the zk.xml file:
<system-config>
<label-location>file:///home/asd/resources/dev-common.properties</label-location>
</system-config>
but somehow it doesn't work: it looks for http://localhost:8080/javascript/bower_components/angular/angular.js (the local server where the application runs) instead of http://localhost:3000/javascript/bower_components/angular/angular.js. What am I doing wrong?