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

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


        myGuider.add(JQBehaviors.mouseClick(guider.next()));

        add(myGuider);
        add(guider);

        add(new ExternalLink("showGuide", "#").add(JQBehaviors.mouseClick(guider.show("second"))));
    }
View Full Code Here


    };
    linkInternal.add(new PrettyPopinBehavior(new PrettyPopinOptions()
        .width(500).height(400).followScroll(false)));
    add(linkInternal);

    ExternalLink linkExternal = new ExternalLink("linkExternal",
        "http://localhost:8080/prettypopin");
    linkExternal.add(new PrettyPopinBehavior(new PrettyPopinOptions()
        .width(500).height(400).followScroll(true)));
    add(linkExternal);

  }
View Full Code Here

        }
    }

    private void addHomePageLinkAndApplicationName() {
        // this is a bit hacky, but it'll do...
        ExternalLink homePageLink = new ExternalLink(ID_HOME_PAGE_LINK, "/wicket/");
        homePageLink.setContextRelative(true);
        themeDiv.add(homePageLink);
        homePageLink.add(new Label(ID_APPLICATION_NAME, applicationName));
    }
View Full Code Here

        add(dev = new DebugBar("dev"));
        dev.setOutputMarkupId(true);
    } else {
        add(new EmptyPanel("dev").setVisible(false));
    }   
    add(new ExternalLink("bug", "https://issues.apache.org/jira/browse/OPENMEETINGS"));//FIXME hardcoded
   
    add(new ChatPanel("chatPanel"));
    add(new WebSocketBehavior() {
      private static final long serialVersionUID = -3311970325911992958L;
View Full Code Here

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE |
      PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
      "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
    add(new ResourceLink("cancelButtonLink", new ResourceReference("cancelButton")));
View Full Code Here

    // Popup example
    add(new BookmarkablePageLink("popupButtonLink", Popup.class).setPopupSettings(popupSettings));

    // External site link
    add(new ExternalLink("google", "http://www.google.com", "Click this link to go to Google"));

    // And that link as a popup
    PopupSettings googlePopupSettings = new PopupSettings(PopupSettings.RESIZABLE
        | PopupSettings.SCROLLBARS).setHeight(500).setWidth(700);
    add(new ExternalLink("googlePopup", "http://www.google.com",
        "Click this link to go to Google in a popup").setPopupSettings(googlePopupSettings));

    // Shared resource link
    add(new ResourceLink("cancelButtonLink", new ResourceReference("cancelButton")));
View Full Code Here

   * Constructor
   */
  public ExternalLinkPage()
  {
    // add a link that goes to javalobby
    add(new ExternalLink("externalLink1", "http://www.javalobby.org", "To JavaLobby"));
    // add a link that goes to the server side
    add(new ExternalLink("externalLink2", "http://www.theserverside.com", "To The Server Side"));
  }
View Full Code Here

        add(dev = new DebugBar("dev"));
        dev.setOutputMarkupId(true);
    } else {
        add(new EmptyPanel("dev").setVisible(false));
    }   
    add(new ExternalLink("bug", "https://issues.apache.org/jira/browse/OPENMEETINGS"));//FIXME hardcoded
   
    add(new ChatPanel("chatPanel"));
    add(new WebSocketBehavior() {
      private static final long serialVersionUID = -3311970325911992958L;
View Full Code Here

    super(id);
    add(new Label("addedFirstName", userToAdd.getFirstname()));
    add(new Label("addedLastName", userToAdd.getLastname()));
    add(new Label("firstName", user.getFirstname()));
    add(new Label("lastName", user.getLastname()));
    add(new ExternalLink("link", ContactsHelper.getLink()));
  }
View Full Code Here

public class ResetPasswordTemplate extends AbstractTemplatePanel {
  private static final long serialVersionUID = 1L;

  public ResetPasswordTemplate(String id, String link) {
    super(id);
    add(new ExternalLink("reset_link1", link));
    add(new Label("reset_link2", link));
  }
View Full Code Here

TOP

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

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.