Package org.apache.wicket.request.target.component

Examples of org.apache.wicket.request.target.component.PageRequestTarget


   * @param page
   *            The page to render as a response
   */
  public final void setResponsePage(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    setRequestTarget(target);
  }
View Full Code Here


   *            The page
   * @return The url pointing to the provided page
   */
  public final CharSequence urlFor(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    getSession().touch(((IPageRequestTarget)target).getPage());
    return encodeUrlFor(target);
  }
View Full Code Here

        return resolveListenerInterfaceTarget(requestCycle, page, componentPath,
          interfaceName, requestParameters);
      }
      else
      {
        return new PageRequestTarget(page);
      }
    }
    // just return null here and let it be handled further down the road.
    return null;
  }
View Full Code Here

   * @param page
   *            The page to render as a response
   */
  public final void setResponsePage(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    setRequestTarget(target);
  }
View Full Code Here

   *            The page
   * @return The url pointing to the provided page
   */
  public final CharSequence urlFor(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    getSession().touch(((IPageRequestTarget)target).getPage());
    return encodeUrlFor(target);
  }
View Full Code Here

   * @param page
   *            The page to render as a response
   */
  public final void setResponsePage(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    setRequestTarget(target);
  }
View Full Code Here

   *            The page
   * @return The url pointing to the provided page
   */
  public final CharSequence urlFor(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    getSession().touch(((IPageRequestTarget)target).getPage());
    return encodeUrlFor(target);
  }
View Full Code Here

        return resolveListenerInterfaceTarget(requestCycle, page, componentPath,
          interfaceName, requestParameters);
      }
      else
      {
        return new PageRequestTarget(page);
      }
    }
    // just return null here and let it be handled further down the road.
    return null;
  }
View Full Code Here

   * @param page
   *            The page to render as a response
   */
  public final void setResponsePage(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    setRequestTarget(target);
  }
View Full Code Here

   *            The page
   * @return The url pointing to the provided page
   */
  public final CharSequence urlFor(final Page page)
  {
    IRequestTarget target = new PageRequestTarget(page);
    getSession().touch(((IPageRequestTarget)target).getPage());
    return encodeUrlFor(target);
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.request.target.component.PageRequestTarget

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.