As described in an earlier post (http://jalbum.net/forum/thread.jspa?messageID=148716) I tweaked the Chameleon skin a bit such that it includes a map on the same page as the photo's (instead of a separate popup window). As part of this I added a couple of variables to the albums jad file like this:
In the slide.htt I was able to access the last variable using:
String iFrameUrl = current.get("map.iframe");
And in the index.htt I accessed the webroot using:
String webRoot = fileVariables.get(files).get("webroot");
Since version 7.4 of JAlbum this does not work anymore. Any clues on how I can access these variables from within the htt files? I already checked if they are included in the meta, application and album maps, but they are not.
Thanks, I tried the suggestion but could not get to to work.
In the slide.htt file I dumped engine.getSkinVariables() and engine.getUserVariables() to the generated HTML page and although I does dump a lot of variables, these do not include the variables that I manually added to the JAD file.
There was however one part of the suggestion that I failed to use. In the first if you do a "if ((result = get(name)) == null) ", the get() in on the current object, but what is this object? Maybe I can retrieve this object from the 'engine' and then invoke the get() on it.
Otherwise it looks like the change from 7.3 -> 7.4 of JAlbum changes something in the way the JAD file properties are read in differently and only 'known' properties are included in the collections.... So I hope that I can invoke the 'get' method directly and get the property...