congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
BookmarkablePageRequestTarget.newPage
Code IndexAdd Tabnine to your IDE (free)

How to use
newPage
method
in
org.apache.wicket.request.target.component.BookmarkablePageRequestTarget

Best Java code snippets using org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.newPage (Showing top 4 results out of 315)

origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Gets a newly constructed page if we are not in a redirect.
 * 
 * @param requestCycle
 *            the request cycle
 * @return the page
 */
protected final Page getPage(RequestCycle requestCycle)
{
  if (page == null && !requestCycle.isRedirect())
  {
    page = newPage(getPageClass(), requestCycle);
  }
  return page;
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Gets a newly constructed page if we are not in a redirect.
 * 
 * @param requestCycle
 *            the request cycle
 * @return the page
 */
protected final Page getPage(RequestCycle requestCycle)
{
  if (page == null && !requestCycle.isRedirect())
  {
    page = newPage(getPageClass(), requestCycle);
  }
  return page;
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

protected Page newPage(Class pageClass, RequestCycle requestCycle)
{
  Page page = super.newPage(pageClass, requestCycle);
  page.setMetaData(PAGE_PARAMETERS_META_DATA_KEY, new PageParameters(getPageParameters()));
  page.setMetaData(ORIGINAL_TRAILING_SLASHES_COUNT_METADATA_KEY, new Integer(
    originalUrlTrailingSlashesCount));
  return page;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * @see org.apache.wicket.request.target.component.BookmarkablePageRequestTarget#newPage(java.lang.Class,
 *      org.apache.wicket.RequestCycle)
 */
@Override
protected <C extends Page> Page newPage(final Class<C> pageClass,
  final RequestCycle requestCycle)
{
  Page page = super.newPage(pageClass, requestCycle);
  page.setMetaData(PAGE_PARAMETERS_META_DATA_KEY, new PageParameters(getPageParameters()));
  page.setMetaData(ORIGINAL_TRAILING_SLASHES_COUNT_METADATA_KEY, new Integer(
    originalUrlTrailingSlashesCount));
  return page;
}
org.apache.wicket.request.target.componentBookmarkablePageRequestTargetnewPage

Javadoc

Constructs a new instance of a page given its class name

Popular methods of BookmarkablePageRequestTarget

  • <init>
    Construct.
  • getPageClass
  • getPageParameters
  • getPage
    Gets a newly constructed page if we are not in a redirect.
  • getPageMapName
  • hashCode
  • respond

Popular in Java

  • Start an intent from android
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
  • 21 Best IntelliJ Plugins
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