com.khubla.pragmatach.framework.controller.impl.template
Class AbstractTemplateEngineController
java.lang.Object
com.khubla.pragmatach.framework.controller.impl.AbstractController
com.khubla.pragmatach.framework.controller.impl.template.AbstractTemplateEngineController
- All Implemented Interfaces:
- PragmatachController
- Direct Known Subclasses:
- FormPostBeanBoundController, JasperController, JCRController, JSPController
public class AbstractTemplateEngineController
- extends AbstractController
- Author:
- tome
Methods inherited from class com.khubla.pragmatach.framework.controller.impl.AbstractController |
bad, buildWildcardResourceURI, forward, getApplicationURL, getCacheHeaders, getConfigurationParameter, getControllerName, getControllerName, getPragmatachRoute, getRequest, getResource, getSessionScopedController, ok, redirect, setPragmatachRoute, setRequest |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTemplateEngineController
public AbstractTemplateEngineController()
getTemplate
protected String getTemplate()
throws PragmatachException
- get the Template
- Throws:
PragmatachException
getTemplateContext
protected Map<String,Object> getTemplateContext()
- get the template's context
getTemplateName
protected String getTemplateName()
throws PragmatachException
- Get the name of the template to render from the @View annotation.
- Throws:
PragmatachException
url_for
public String url_for(String page)
throws PragmatachException
- get properly qualified url given the http, the context, etc
- Throws:
PragmatachException
Copyright © 2014 khubla.com. All rights reserved.