Package org.apache.wicket.ajax

Examples of org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior


        {
          if (b instanceof AjaxSelfUpdatingTimerBehavior)
          {
            log.debug("Triggering AjaxSelfUpdatingTimerBehavior: " +
              component.getClassRelativePath());
            AjaxSelfUpdatingTimerBehavior abstractAjaxBehaviour = (AjaxSelfUpdatingTimerBehavior)b;
            executeBehavior(abstractAjaxBehaviour);
          }
        }
        return CONTINUE_TRAVERSAL;
      }
View Full Code Here


    columns.add(pageSizeColumn);

    BrowserTable browserTable = new BrowserTable(id, columns, provider);
    browserTable.setOutputMarkupId(true);

    browserTable.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(5)));

    return browserTable;
  }
View Full Code Here

        {
          if (b instanceof AjaxSelfUpdatingTimerBehavior)
          {
            log.debug("Triggering AjaxSelfUpdatingTimerBehavior: " +
              component.getClassRelativePath());
            AjaxSelfUpdatingTimerBehavior abstractAjaxBehaviour = (AjaxSelfUpdatingTimerBehavior)b;
            executeBehavior(abstractAjaxBehaviour);
          }
        }
        return CONTINUE_TRAVERSAL;
      }
View Full Code Here

          {
            checkUsability(component);

            log.debug("Triggering AjaxSelfUpdatingTimerBehavior: " +
              component.getClassRelativePath());
            AjaxSelfUpdatingTimerBehavior abstractAjaxBehaviour = (AjaxSelfUpdatingTimerBehavior)b;
            if (!abstractAjaxBehaviour.isStopped())
            {
              executeBehavior(abstractAjaxBehaviour);
            }
          }
        }
View Full Code Here

      treesView.add(new RecordingTree(treesView.newChildId(), new PublicRecordingTreeProvider(o.getOrganisation_id(), o.getName())));
    }
    add(trees.add(treesView).setOutputMarkupId(true));
    updateSizes();
    add(sizes.add(new Label("homeSize", homeSize), new Label("publicSize", publicSize)).setOutputMarkupId(true));
    sizes.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(30)) {
      private static final long serialVersionUID = 1L;

      protected void onPostProcessTarget(AjaxRequestTarget target) {
        updateSizes();
      }
View Full Code Here

  public SimpleTestPanel(String name)
  {
    super(name);

    Label ajaxLabel = new Label("linja1", new PropertyModel(this, "count"));
    this.timer = new AjaxSelfUpdatingTimerBehavior(Duration.seconds(2));

    ajaxLabel.add(timer);
    baseSpan.add(ajaxLabel);
  }
View Full Code Here

      treesView.add(new RecordingTree(treesView.newChildId(), new PublicRecordingTreeProvider(o.getOrganisation_id(), o.getName())));
    }
    add(trees.add(treesView).setOutputMarkupId(true));
    updateSizes();
    add(sizes.add(new Label("homeSize", homeSize), new Label("publicSize", publicSize)).setOutputMarkupId(true));
    sizes.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(30)) {
      private static final long serialVersionUID = 1L;

      protected void onPostProcessTarget(AjaxRequestTarget target) {
        updateSizes();
      }
View Full Code Here

        {
          if (b instanceof AjaxSelfUpdatingTimerBehavior)
          {
            log.debug("Triggering AjaxSelfUpdatingTimerBehavior: " +
              component.getClassRelativePath());
            AjaxSelfUpdatingTimerBehavior abstractAjaxBehaviour = (AjaxSelfUpdatingTimerBehavior)b;
            if (!abstractAjaxBehaviour.isStopped())
            {
              executeBehavior(abstractAjaxBehaviour);
            }
          }
        }
View Full Code Here

      treesView.add(new RecordingTree(treesView.newChildId(), new PublicRecordingTreeProvider(o.getOrganisation_id(), o.getName())));
    }
    add(trees.add(treesView).setOutputMarkupId(true));
    updateSizes();
    add(sizes.add(new Label("homeSize", homeSize), new Label("publicSize", publicSize)).setOutputMarkupId(true));
    sizes.add(new AjaxSelfUpdatingTimerBehavior(Duration.seconds(30)) {
      private static final long serialVersionUID = 1L;

      protected void onPostProcessTarget(AjaxRequestTarget target) {
        updateSizes();
      }
View Full Code Here

  public SimpleTestPanel(String name)
  {
    super(name);

    Label ajaxLabel = new Label("linja1", new PropertyModel(this, "count"));
    this.timer = new AjaxSelfUpdatingTimerBehavior(Duration.seconds(2));

    ajaxLabel.add(timer);
    baseSpan.add(ajaxLabel);
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.ajax.AjaxSelfUpdatingTimerBehavior

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.