Declare context variable that references another context variable
Hi I have a context defined in studio and I'd like to declare a named context variable who's value references ANOTHER context variable Such as VAR1 = "http://www.whatever.com/${othercontextvariable}" Is this possible?
context.var1 = "index.html";
context.var2 = "
http://www.acme.com/" + context.var1;
or you can put it on the Global Map
globalMap.put("VAR2", "
http://acme.com/" + context.var1);
and retrieve it with
((String) globalMap.get("VAR2"));
remembering to null test when referencing these objects