Class JcmsJspAjaxContext

java.lang.Object
com.jalios.jcms.context.AbstractJcmsAjaxContext
com.jalios.jcms.ajax.JcmsJspAjaxContext
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
InsertionContext

public class JcmsJspAjaxContext extends AbstractJcmsAjaxContext
See Also:
  • Field Details

    • reqRequestURI

      protected transient String reqRequestURI
    • reqContextPath

      protected transient String reqContextPath
    • reqPathInfo

      protected transient String reqPathInfo
    • reqPathTranslated

      protected transient String reqPathTranslated
    • reqQueryString

      protected transient String reqQueryString
    • reqServletPath

      protected transient String reqServletPath
    • fwdRequestURI

      protected transient String fwdRequestURI
    • fwdContextPath

      protected transient String fwdContextPath
    • fwdPathInfo

      protected transient String fwdPathInfo
    • fwdQueryString

      protected transient String fwdQueryString
    • fwdServletPath

      protected transient String fwdServletPath
    • ajaxReqId

      protected transient String ajaxReqId
    • attributeMap

      protected transient Map<String,Object> attributeMap
    • displayServlet

      protected transient Boolean displayServlet
  • Constructor Details

    • JcmsJspAjaxContext

      public JcmsJspAjaxContext()
    • JcmsJspAjaxContext

      public JcmsJspAjaxContext(JcmsJspContext ctxt)
  • Method Details

    • setJcmsContext

      public void setJcmsContext(JcmsJspContext jcmsContext)
      Description copied from class: AbstractJcmsAjaxContext
      Sets the following values from values found in the specified JcmsJspContext.
      Values are not retrieved from context if they have already been set through their setter.
      • Logged Member
      • User Lang
      • Workspace
      • Ctx Categories
      • Resource Path
      • Parameter Map
      • Redirect
      • forceAdminIcon and printview
      This method MUST be called when this object is created during the inital request (as opposed to other AJAX request occuring after).
      Overrides:
      setJcmsContext in class AbstractJcmsAjaxContext
      Parameters:
      jcmsContext - the JcmsJspContext
    • setAttribute

      public void setAttribute(String key, Object value)
    • getAttribute

      public Object getAttribute(String key)
    • removeAttribute

      public Object removeAttribute(String key)
    • writeObject

      protected void writeObject(Map<String,Object> map)
      Overrides:
      writeObject in class AbstractJcmsAjaxContext
    • readObject

      protected void readObject(Map<String,Object> map, javax.servlet.http.HttpServletRequest request)
      Overrides:
      readObject in class AbstractJcmsAjaxContext
    • debug

      public boolean debug(String key)
      Overrides:
      debug in class AbstractJcmsAjaxContext