Tabnine Logo
IPageMap.remove
Code IndexAdd Tabnine to your IDE (free)

How to use
remove
method
in
org.apache.wicket.IPageMap

Best Java code snippets using org.apache.wicket.IPageMap.remove (Showing top 6 results out of 315)

origin: org.wamblee/wamblee-wicket-components

@Override
public void onDetach(WebPage aPage) {
  aPage.getPageMap().remove(aPage);
}
origin: org.wamblee/wamblee-wicket-components

@Override
public void onDetach(WebPage aPage) {
  if (isExpired(aPage)) {
    aPage.getPageMap().remove(aPage);
  }
}
origin: org.ops4j.pax.wicket/pax-wicket-service

  /**
   * @see org.apache.wicket.markup.html.link.Link#onClick()
   */
  @Override
  public void onClick()
  {
    // Remove the popup's page map from the session
    getPage().getPageMap().remove();

    // Web page closes window using javascript code in PopupCloseLink$1.html
    setResponsePage(ClosePopupPage.class);
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

  /**
   * @see org.apache.wicket.markup.html.link.Link#onClick()
   */
  public void onClick()
  {
    // Remove the popup's page map from the session
    getPage().getPageMap().remove();

    // Web page closes window using javascript code in PopupCloseLink$1.html
    setResponsePage(ClosePopupPage.class);
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Creates a new page map with a given name
 * 
 * @param name
 *            The name for the new page map
 * @return The newly created page map
 */
public final IPageMap newPageMap(final String name)
{
  // Check that session doesn't have too many page maps already
  final int maxPageMaps = getApplication().getSessionSettings().getMaxPageMaps();
  synchronized (usedPageMaps)
  {
    if (usedPageMaps.size() >= maxPageMaps)
    {
      IPageMap pm = (IPageMap)usedPageMaps.getFirst();
      pm.remove();
    }
  }
  // Create new page map
  final IPageMap pageMap = getSessionStore().createPageMap(name);
  setAttribute(attributeForPageMapName(name), pageMap);
  dirty();
  return pageMap;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

usedPageMaps.get(i).remove();
org.apache.wicketIPageMapremove

Javadoc

Removes this PageMap from the Session.

Popular methods of IPageMap

  • getName
  • isDefault
  • attributeForId
  • clear
    Removes all pages from this map
  • containsPage
    Returns true if the PageMap contains page with given id and versonNumber
  • continueToOriginalDestination
    Redirects to any intercept page previously specified by a call to redirectToInterceptPage.
  • get
    Retrieves page with given id.
  • getEntry
    Retrieves entry with given id.
  • getSizeInBytes
  • nextId
  • put
  • redirectToInterceptPage
    Redirects browser to an intermediate page such as a sign-in page. The current request's url is saved
  • put,
  • redirectToInterceptPage

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getResourceAsStream (ClassLoader)
  • getSupportFragmentManager (FragmentActivity)
  • startActivity (Activity)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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