// Tag variable export
if (variables != null) {
Iterator<TagVariableDefinition> vars = variables.variables();
while (vars.hasNext()) {
TagVariableDefinition def = vars.next();
String name = def.getName();
String alias = def.getAlias();
String value = getProperty(name, request.getSite());
logger.trace("Defining variable '" + alias + "': " + value);
if (value == null)
value = "";
stashAndSetAttribute(alias, value);