Save This Page
Home » struts-2.0.11.2-src » org.apache » struts2 » views » [javadoc | source]
org.apache.struts2.views
public interface: TagLibrary [javadoc | source]

All Known Implementing Classes:
    DefaultTagLibrary

Provides Velocity and Freemarker implementation classes for a tag library
Method from org.apache.struts2.views.TagLibrary Summary:
getFreemarkerModels,   getVelocityDirectiveClasses
Method from org.apache.struts2.views.TagLibrary Detail:
 public Object getFreemarkerModels(ValueStack stack,
    HttpServletRequest req,
    HttpServletResponse res)
    Gets a Java object that contains getters for the tag library's Freemarker models. Called once per Freemarker template processing.
 public List getVelocityDirectiveClasses()
    Gets a list of Velocity directive classes for the tag library. Called once on framework startup when initializing Velocity.