Codota Logo
BookmarkablePageRequestTarget.getPage
Code IndexAdd Codota to your IDE (free)

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

Best Java code snippets using org.apache.wicket.request.target.component.BookmarkablePageRequestTarget.getPage (Showing top 6 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

public void processEvents(RequestCycle requestCycle)
{
  if (!requestCycle.isRedirect())
  {
    page = getPage(requestCycle);
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * @see org.apache.wicket.request.target.IEventProcessor#processEvents(org.apache.wicket.RequestCycle)
 */
public void processEvents(RequestCycle requestCycle)
{
  if (!requestCycle.isRedirect())
  {
    page = getPage(requestCycle);
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * Gets the page that is to be rendered for this request in case the last set request target is
 * of type {@link PageRequestTarget}.
 * 
 * @return the page or null
 */
public final Page getResponsePage()
{
  IRequestTarget target = getRequestTarget();
  if (target instanceof IPageRequestTarget)
  {
    return ((IPageRequestTarget)target).getPage();
  }
  else if (target instanceof BookmarkablePageRequestTarget)
  {
    return ((BookmarkablePageRequestTarget)target).getPage();
  }
  return null;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

/**
 * Gets the page that is to be rendered for this request in case the last set request target is
 * of type {@link PageRequestTarget}.
 * 
 * @return the page or null
 */
public final Page getResponsePage()
{
  IRequestTarget target = getRequestTarget();
  if (target instanceof IPageRequestTarget)
  {
    return ((IPageRequestTarget)target).getPage();
  }
  else if (target instanceof BookmarkablePageRequestTarget)
  {
    return ((BookmarkablePageRequestTarget)target).getPage();
  }
  return null;
}
origin: org.ops4j.pax.wicket/pax-wicket-service

public void respond(RequestCycle requestCycle)
{
  if (pageClassRef != null && pageClassRef.get() != null)
  {
    if (requestCycle.isRedirect())
    {
      IRequestCycleProcessor processor = requestCycle.getProcessor();
      String redirectUrl = processor.getRequestCodingStrategy()
        .encode(requestCycle, this)
        .toString();
      // IE does not understand "./" in a path, just "." is okay.
      if (redirectUrl.startsWith("./"))
      {
        redirectUrl = redirectUrl.length() == 2 ? "." : redirectUrl.substring(2);
      }
      requestCycle.getResponse().redirect(redirectUrl);
    }
    else
    {
      // Let the page render itself
      getPage(requestCycle).renderPage();
    }
  }
}
origin: org.apache.wicket/com.springsource.org.apache.wicket

/**
 * @see org.apache.wicket.IRequestTarget#respond(org.apache.wicket.RequestCycle)
 */
public void respond(RequestCycle requestCycle)
{
  if (pageClassRef != null && pageClassRef.get() != null)
  {
    if (requestCycle.isRedirect())
    {
      IRequestCycleProcessor processor = requestCycle.getProcessor();
      String redirectUrl = processor.getRequestCodingStrategy()
        .encode(requestCycle, this).toString();
      requestCycle.getResponse().redirect(redirectUrl);
    }
    else
    {
      // Let the page render itself
      getPage(requestCycle).renderPage();
    }
  }
}
org.apache.wicket.request.target.componentBookmarkablePageRequestTargetgetPage

Popular methods of BookmarkablePageRequestTarget

  • <init>
    Construct.
  • getPageClass
  • getPageParameters
  • getPageMapName
  • hashCode
  • newPage
    Constructs a new instance of a page given its class name
  • respond

Popular in Java

  • Making http post requests using okhttp
  • getSupportFragmentManager (FragmentActivity)
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
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