Examples of CsrfTokenHandler


Examples of org.projectforge.web.wicket.CsrfTokenHandler

  @SuppressWarnings("serial")
  protected void init(final Form< ? > form)
  {
    this.form = form;
    csrfTokenHandler = new CsrfTokenHandler(form);
    mainSubContainer.add(form);
    form.add(gridContentContainer);
    form.add(buttonBarContainer);
    if (showCancelButton == true) {
      final SingleButtonPanel cancelButton = appendNewAjaxActionButton(new AjaxCallback() {
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

          setResponsePage(searchPage);
        }
        super.onSubmit();
      }
    };
    csrfTokenHandler = new CsrfTokenHandler(searchForm);
    add(searchForm);
    final TextField<String> searchField = new TextField<String>("searchField", new PropertyModel<String>(searchForm, "searchString"));
    WicketUtils.setPlaceHolderAttribute(searchField, getString("search.search"));
    searchForm.add(searchField);
    add(new BookmarkablePageLink<Void>("feedbackLink", FeedbackPage.class));
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

  }

  public TaskTreeForm(final TaskTreePage parentPage)
  {
    super(parentPage);
    csrfTokenHandler = new CsrfTokenHandler(this);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

      {
        // nothing to do here
      }

    });
    csrfTokenHandler = new CsrfTokenHandler(hiddenForm);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

  public SetupImportForm(final SetupPage parentPage)
  {
    super(parentPage, "importform");
    initUpload(Bytes.megabytes(100));
    csrfTokenHandler = new CsrfTokenHandler(this);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

  private final CsrfTokenHandler csrfTokenHandler;

  public SetupForm(final SetupPage parentPage)
  {
    super(parentPage, "setupform");
    csrfTokenHandler = new CsrfTokenHandler(this);
    adminUser = new PFUserDO();
    adminUser.setUsername(InitDatabaseDao.DEFAULT_ADMIN_USER);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

  protected MyComponentsRepeater<SingleButtonPanel> actionButtons;

  public SystemUpdateForm(final SystemUpdatePage parentPage)
  {
    super(parentPage);
    csrfTokenHandler = new CsrfTokenHandler(this);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

        super.onSubmit();
        csrfTokenHandler.onSubmit();
      }
    };
    add(form);
    csrfTokenHandler = new CsrfTokenHandler(form);
    rows = new RepeatingView("rows");
    form.add(rows);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

    }
    if (filter == null) {
      filter = newFilter();
      parentPage.putUserPrefEntry(userPrefFilterKey, filter, true);
    }
    csrfTokenHandler = new CsrfTokenHandler(this);
  }
View Full Code Here

Examples of org.projectforge.web.wicket.CsrfTokenHandler

  public AbstractMobileEditForm(final P parentPage, final O data)
  {
    super(parentPage);
    this.data = data;
    csrfTokenHandler = new CsrfTokenHandler(this);
  }
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.