congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
TagSupport.setPageContext
Code IndexAdd Tabnine to your IDE (free)

How to use
setPageContext
method
in
javax.servlet.jsp.tagext.TagSupport

Best Java code snippets using javax.servlet.jsp.tagext.TagSupport.setPageContext (Showing top 16 results out of 315)

origin: org.apache.sling/org.apache.sling.scripting.jsp.taglib

/**
 * @see javax.servlet.jsp.tagext.TagSupport#setPageContext(javax.servlet.jsp.PageContext)
 */
public void setPageContext(final PageContext pageContext) {
  super.setPageContext(pageContext);
  // init local fields, since tag might be reused
  resource = null;
  resourceType = null;
  ignoreResourceTypeHierarchy = false;
  script = null;
  flush = false;
}
origin: org.apache.sling/org.apache.sling.scripting.jsp.taglib

@Override
public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  script = null;
  flush = false;
  ignoreComponentHierarchy = false;
}
origin: struts/struts

/**
 * Set the current page context.
 * Called by the page implementation prior to doStartTag().
 * <p>
 * Needed to allow inner classes to access pageContext.
 */
public void setPageContext(PageContext pc) {
  this.pageContext = pc;
  super.setPageContext(pc);
}
origin: webwork/webwork-jira

public void setPageContext(PageContext aPageContext)
{
 super.setPageContext(aPageContext);
 stack = null;
}
origin: org.apache.jspwiki/jspwiki-main

/**
 *   This method calls the parent setPageContext() but it also
 *   provides a way for a tag to initialize itself before
 *   any of the setXXX() methods are called.
 */
public void setPageContext(PageContext arg0)
{
  super.setPageContext(arg0);
  
  initTag();
}
origin: org.kantega.openaksess/openaksess-core

@Override
@SuppressWarnings("unchecked")
public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  if (pluginManager == null) {
    WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(pageContext.getServletContext());
    pluginManager = (PluginManager<OpenAksessPlugin>) context.getBean("pluginManager", PluginManager.class);
    siteCache = context.getBean("aksessSiteCache", SiteCache.class);
  }
}
origin: org.apache.sling/org.apache.sling.scripting.jsp.taglib

@Override
public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  clear();
}
origin: org.kantega.openaksess/openaksess-core

@Override
public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  WebApplicationContext context = WebApplicationContextUtils.getRequiredWebApplicationContext(pageContext.getServletContext());
  pathEntryService = context.getBean(PathEntryService.class);
}
origin: org.apache.sling/org.apache.sling.scripting.jsp.taglib

public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  clear();
}
origin: liukaixuan/guzz

public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  resetToDefault() ;
}
       
origin: liukaixuan/guzz

public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  resetToDefault() ;
}
 
origin: liukaixuan/guzz

public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  if(this.slowUpdateService == null){
    this.guzzContext = GuzzWebApplicationContextUtil.getGuzzContext(pageContext.getServletContext()) ;
    this.slowUpdateService = (SlowUpdateService) this.guzzContext.getService(Service.FAMOUSE_SERVICE.SLOW_UPDATE) ;
  }
}
origin: org.kantega.openaksess/openaksess-core

@Override
public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  Map<String, OrganizationManager> organizationManagerMap = WebApplicationContextUtils.getRequiredWebApplicationContext(pageContext.getServletContext()).getBeansOfType(OrganizationManager.class);
  organizationManagers = organizationManagerMap.values();
}
origin: liukaixuan/guzz

public void setPageContext(PageContext pc) {
  super.setPageContext(pc);
  
  init() ;
  
  if(guzzContext == null){
    guzzContext = GuzzWebApplicationContextUtil.getGuzzContext(pc.getServletContext()) ;
  }
}
 
origin: liukaixuan/guzz

public void setPageContext(PageContext pageContext) {
  super.setPageContext(pageContext);
  resetToDefault() ;
  
  if(this.guzzContext == null){
    this.guzzContext = GuzzWebApplicationContextUtil.getGuzzContext(pageContext.getServletContext()) ;
  }
}
 
origin: ontopia/ontopia

curTag.setPageContext(pageContext);
setAttributeValues(curNode, curTag);
javax.servlet.jsp.tagextTagSupportsetPageContext

Javadoc

Set the page context.

Popular methods of TagSupport

  • release
    Release state.
  • doEndTag
    Default processing of the end tag returning EVAL_PAGE.
  • doStartTag
    Default processing of the start tag, returning SKIP_BODY.
  • findAncestorWithClass
    Find the instance of a given class type that is closest to a given instance. This method uses the ge
  • getValue
    Get a the value associated with a key.
  • setId
    Set the id attribute for this tag.
  • doAfterBody
    Default processing for a body.
  • setValue
    Associate a value with a String key.
  • getId
    The value of the id attribute of this tag; or null.
  • getValues
    Enumerate the keys for the values kept by this tag handler.
  • removeValue
    Remove a value associated with a key.
  • setParent
    Set the nesting tag of this tag.
  • removeValue,
  • setParent,
  • <init>

Popular in Java

  • Updating database using SQL prepared statement
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getContentResolver (Context)
  • getSharedPreferences (Context)
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Permission (java.security)
    Legacy security code; do not use.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • Join (org.hibernate.mapping)
  • Runner (org.openjdk.jmh.runner)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now