Package de.micromata.wicket.ajax

Examples of de.micromata.wicket.ajax.AjaxCallback


    csrfTokenHandler = new CsrfTokenHandler(form);
    mainSubContainer.add(form);
    form.add(gridContentContainer);
    form.add(buttonBarContainer);
    if (showCancelButton == true) {
      final SingleButtonPanel cancelButton = appendNewAjaxActionButton(new AjaxCallback() {
        @Override
        public void callback(final AjaxRequestTarget target)
        {
          csrfTokenHandler.onSubmit();
          onCancelButtonSubmit(target);
View Full Code Here


    calendarPageSupport = new CalendarPageSupport((ISelectCallerPage) getPage());
    timesheetsCalendar.setTitle(getString("plugins.teamcal.timeSheetCalendar"));
    timesheetsCalendar.setId(TIMESHEET_CALENDAR_ID);
    // confirm
    setCloseButtonTooltip(null, new ResourceModel("plugins.teamcal.calendar.filterDialog.closeButton.tooltip"));
    insertNewAjaxActionButton(new AjaxCallback() {
      @Override
      public void callback(final AjaxRequestTarget target)
      {
        filter.remove(filter.getActiveTemplateEntry());
        close(target);
View Full Code Here

    final DivPanel content = gridBuilder.getPanel();
    final DivTextPanel textPanel = new DivTextPanel(content.newChildId(), getString("plugins.teamcal.event.recurrence.change.content"));
    content.add(textPanel);

    // add all change callback
    final AjaxCallback allCallback = new AjaxCallback() {
      private static final long serialVersionUID = 7852511931690947544L;

      @Override
      public void callback(final AjaxRequestTarget target)
      {
        onChangeAllEventsSelected(target, event);
      }
    };
    appendNewAjaxActionButton(allCallback, getString("plugins.teamcal.event.recurrence.change.all"));

    // add future only change callback
    final AjaxCallback futureCallback = new AjaxCallback() {
      private static final long serialVersionUID = 7852511931690947544L;

      @Override
      public void callback(final AjaxRequestTarget target)
      {
        onChangeFutureOnlyEventsSelected(target, event);
      }
    };
    allFutureEventsButtonPanel = appendNewAjaxActionButton(futureCallback, getString("plugins.teamcal.event.recurrence.change.future"));

    // add future only change callback
    final AjaxCallback singleCallback = new AjaxCallback() {
      private static final long serialVersionUID = 7852511931690947544L;

      @Override
      public void callback(final AjaxRequestTarget target)
      {
View Full Code Here

  @SuppressWarnings("serial")
  @Override
  public void init()
  {
    appendNewAjaxActionButton(new AjaxCallback() {

      @Override
      public void callback(final AjaxRequestTarget target)
      {
        target.appendJavaScript("setTimeout(\"window.location.href='" + WicketUtils.getAbsoluteContextPath() + getUrl() + "'\", 100);");
View Full Code Here

TOP

Related Classes of de.micromata.wicket.ajax.AjaxCallback

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.