Changeset 1793


Ignore:
Timestamp:
2010-12-06 19:59:49 (2 years ago)
Author:
mpo
Message:

no value and no src should just result in null, and not throw an exception

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/universe/kauri-template/src/main/java/org/kauriproject/template/VariableBlock.java

    r1743 r1793  
    169169                } else if (value instanceof CharSequence) { 
    170170                    input = HandlingInput.newInput(null, null, (CharSequence)value); 
    171                 } else if (value == NO_VALUE) { 
    172                     throw new TemplateException("No practical source or value found for variable " + name + ". Tried URI " + src);     
    173171                } else 
    174172                    return value; 
Note: See TracChangeset for help on using the changeset viewer.