cancel
Showing results for 
Search instead for 
Did you mean: 

webscript properties

mrksjs
Champ on-the-rise
Champ on-the-rise
Hello,

i have 2 Webscripts, A and B. A is a presentation webscript with a javascript controller that imports the js controller of script B.
B has a *.config.xml file which contains user defined properties.

When i output the properties in script A, they always are undefined. Import just merges the 2 scripts? XML(config.script) therefore tries to access the config file of script A.
Can i somehow change this behaviour? B is a utility and A makes use of it, defining a properties file for script A is not an option. (since script B should be accessed by several other webscripts).
2 REPLIES 2

scouil
Star Contributor
Star Contributor
Maybe you can call B from A as an external REST webservice instead of importing it.

mrksjs
Champ on-the-rise
Champ on-the-rise
I'm looking for a simpler way to read configurated properties. i managed to do so with a scoped configuration!
thanks for your post anyway!


see: https://issues.alfresco.com/jira/browse/ALF-2613