Examples of EmptyPanel


Examples of org.apache.wicket.markup.html.panel.EmptyPanel

  }     

  protected Component makeSummary(String id) {
    if (featureService.isCollectionsScoreSummaryOn())
      return new ResponseCollectionSummary(id, getScoreCounts());
    else return new EmptyPanel(id);
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

  public NavigationComponent( @NotNull @NonNls String id, @NotNull final LinksDataView<?> dataView, @Nullable ResourceReference styleSheetReference ) {
    super( id );

    if ( styleSheetReference == null ) {
      add( new EmptyPanel( WicketConstants.ID_STYLE_SHEET ) );
    } else {
      add( new StyleSheetReference( WicketConstants.ID_STYLE_SHEET, styleSheetReference ) );
    }

    WebMarkupContainer container = new WebMarkupContainer( NAVIGATION_UL );
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

    }

    @Override
    public WebMarkupContainer getPanel(final String containerId)
    {
      return new EmptyPanel(containerId);
    }
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

      @Override
      public void onClick(AjaxRequestTarget target) {
      }

    };
    add = add(new EmptyPanel("content").setOutputMarkupPlaceholderTag(true));

  }
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

    add(about);
    if (getApplication().getDebugSettings().isDevelopmentUtilitiesEnabled()) {
        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() {
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

  public void idGeneratedWhenPanelNotAddedToPage()
  {
    WicketTester tester = new WicketTester();

    // In wicket 1.4 the following sequence would not cause an exception
    Panel panel = new EmptyPanel("bla");

    // however in 1.5 the following statement generated a WicketRuntimeException
    // that the markup type could not be determined
    String markupId = panel.getMarkupId();

    // instead 1.4 would just generate the missing markup identifier
    Assert.assertEquals("bla1", markupId);
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

    add(about);
    if (getApplication().getDebugSettings().isDevelopmentUtilitiesEnabled()) {
        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() {
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

    add(about);
    if (getApplication().getDebugSettings().isDevelopmentUtilitiesEnabled()) {
        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() {
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

  }

  void handleSimple_OK_Description() {
    final WebMarkupContainer parent = new WebMarkupContainer(Constants.PAYLOAD_ID);
    add(parent);
    parent.add(new EmptyPanel(Constants.NODE_ID).setVisible(false));
  }
View Full Code Here

Examples of org.apache.wicket.markup.html.panel.EmptyPanel

   *
   */
  public void testMultiLevelEmbeddedComponentLoadFromComponent()
  {
    DummyPage p = new DummyPage();
    Panel panel = new EmptyPanel("panel");
    p.add(panel);
    DummyComponent c = new DummyComponent("hello", tester.getApplication());
    panel.add(c);
    IStringResourceLoader loader = new ComponentStringResourceLoader();
    Assert.assertEquals("Valid resourse string should be found", "Component string",
      loader.loadStringResource(c.getClass(), "component.string", Locale.getDefault(), null,
        null));
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.