Codota Logo
BookmarkablePageRequestTarget.newPage
Code IndexAdd Codota 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)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
BufferedReader b =
  • Codota IconInputStream in;new BufferedReader(new InputStreamReader(in))
  • Codota IconReader in;new BufferedReader(in)
  • Codota IconFile file;new BufferedReader(new FileReader(file))
  • Smart code suggestions by Codota
}
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

  • Finding current android device location
  • requestLocationUpdates (LocationManager)
  • findViewById (Activity)
  • getSharedPreferences (Context)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • FileReader (java.io)
    A specialized Reader that reads from a file in the file system. All read requests made by calling me
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • FileUtils (org.apache.commons.io)
    General file manipulation utilities. Facilities are provided in the following areas: * writing to a
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now