Save This Page
Home » struts-2.1.8.1-src » org.apache » struts2 » views » freemarker » [javadoc | source]
org.apache.struts2.views.freemarker
public class: ScopesHashModel [javadoc | source]
java.lang.Object
   freemarker.template.SimpleHash
      org.apache.struts2.views.freemarker.ScopesHashModel
Simple Hash model that also searches other scopes.

If the key doesn't exist in this hash, this template model tries to resolve the key within the attributes of the following scopes, in the order stated: Request, Session, Servlet Context
Constructor:
 public ScopesHashModel(ObjectWrapper objectWrapper,
    ServletContext context,
    HttpServletRequest request,
    ValueStack stack) 
Method from org.apache.struts2.views.freemarker.ScopesHashModel Summary:
get,   put,   put
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.struts2.views.freemarker.ScopesHashModel Detail:
 public TemplateModel get(String key) throws TemplateModelException 
 public  void put(String string,
    boolean b) 
 public  void put(String string,
    Object object)