Package org.apache.wicket.markup.html.link

Examples of org.apache.wicket.markup.html.link.StatelessLink


   * @param params
   */
  public StatelessComponentPageWithParams(PageParameters params)
  {
    super(params);
    add(new StatelessLink("link")
    {
      private static final long serialVersionUID = 1L;

      public void onClick()
      {
View Full Code Here


  public BasePage(PageParameters parameters)
  {
    super(parameters);
    add(new UserInfoPanel("userInfo"));
    add(new StatelessLink("home")
    {

      @Override
      public void onClick()
      {
View Full Code Here

    this(new PageParameters());
  }

  public HomePage(PageParameters parameters)
  {
    add(new StatelessLink("next")
    {

      @Override
      public void onClick()
      {
        setResponsePage(Page2.class); //Bookmarkable response
      }
    });
    add(new StatelessLink("next2")
    {

      @Override
      public void onClick()
      {
        setResponsePage(new AdminPage()); //non-bookmarkable response
      }
    });
    add(new StatelessLink("next3")
    {

      @Override
      public void onClick()
      {
View Full Code Here

  {

    // Add the simplest type of label
    add(new Label("message",
        "If you see this message wicket is properly configured and running"));
    add(new StatelessLink("secureExample")
    {

      @Override
      public void onClick()
      {
View Full Code Here

  /**
   * Construct.
   */
  public StatelessComponentPage()
  {
    add(new StatelessLink("link")
    {
      private static final long serialVersionUID = 1L;

      public void onClick()
      {
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.link.StatelessLink

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.