
sf.database.template.freemarker.ext.ParaModel Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sorm Show documentation
Show all versions of sorm Show documentation
java jpa tool for spring
The newest version!
package sf.database.template.freemarker.ext;
import freemarker.core.Environment;
import freemarker.template.TemplateMethodModelEx;
import freemarker.template.TemplateModel;
import freemarker.template.TemplateModelException;
import sf.database.template.TemplateConstants;
import sf.database.template.freemarker.FreemarkerHelp;
import sf.spring.util.CollectionUtils;
import sf.tools.StringUtils;
import java.util.List;
import java.util.Map;
public class ParaModel implements TemplateMethodModelEx {
@Override
public Object exec(List arguments) throws TemplateModelException {
Environment env = Environment.getCurrentEnvironment();
Map map = (Map) FreemarkerHelp.getRootDataModel(env);
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy