Package org.apache.wicket.markup.html.form

Examples of org.apache.wicket.markup.html.form.StatelessForm


      /**
       * @see org.wicketstuff.picnik.PushTargetPanel#createForm(java.lang.String)
       */
      @Override
      protected StatelessForm createForm(String id, IModel model) {
        return new StatelessForm(id, model) {
          /**
           * @see org.apache.wicket.markup.html.form.Form#onSubmit()
           */
          @Override
          protected void onSubmit() {
View Full Code Here


   * @param id the id of the form
   * @param model model passed through to the form.
   * @return
   */
  protected StatelessForm createForm(final String id, IModel model) {
    return new StatelessForm(id, model);
  }
View Full Code Here

      /**
       * @see org.wicketstuff.picnik.PushTargetPanel#createForm(java.lang.String)
       */
      @Override
      protected StatelessForm createForm(String id, IModel model) {
        return new StatelessForm(id, model) {
          /**
           * @see org.apache.wicket.markup.html.form.Form#onSubmit()
           */
          @Override
          protected void onSubmit() {
View Full Code Here

    add(new Label("message", new SessionModel()));
    add(new BookmarkablePageLink("indexLink", Index.class));
    final TextField field = new TextField("textfield", new Model());
    field.setRequired(true);

    StatelessForm statelessForm = new StatelessForm("statelessform")
    {
      /**
       * @see org.apache.wicket.markup.html.form.Form#onSubmit()
       */
      protected void onSubmit()
      {
        info("Submitted text: " + field.getModelObject());
      }
    };
    statelessForm.add(field);
    add(statelessForm);
    add(new FeedbackPanel("feedback"));
  }
View Full Code Here

TOP

Related Classes of org.apache.wicket.markup.html.form.StatelessForm

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.