public class LookupHelper extends Object implements Helper<Object>
{{> (lookup '.' 'myVariable') }}
This helper is useless bc it shouldn't be required to get a variable via a helper, like:
{{> (myVariable) }}
For now, previous expression isn't supported in Handlebars.java... but the only reason of that is
handlebars.jspublic static final String NAME
public CharSequence apply(Object context, Options options) throws IOException
Helperapply in interface Helper<Object>context - The context object.options - The options object.IOException - If a template cannot be loaded.Copyright © 2015. All rights reserved.