Package wicket.markup.html.form

Examples of wicket.markup.html.form.RadioGroup


  }

  private void createComponents(final Course course, final boolean isMale)
  {

    final RadioGroup singleChoice = new RadioGroup("radioGroup", new Model(
        ""));
    singleChoice.setRequired(true);
    this.add(singleChoice);

    if (isMale)
    {
      singleChoice.add(new CategoriesSelectionListView(
          "categoriesSelectionListView", course.getTarifications()
              .getTarificationsOfMale()));
    }
    else
    {
      singleChoice.add(new CategoriesSelectionListView(
          "categoriesSelectionListView", course.getTarifications()
              .getTarificationsOfFemale()));
    }

    this.add(new Button("ajouter")
    {

      private static final long serialVersionUID = 3534043602619164257L;

      @Override
      public void onSubmit()
      {

        final SignInSession session = (SignInSession) this.getSession();

        final Tarification tarification = (Tarification) singleChoice
            .getModelObject();

        if (!tarification.equals(null))
        {
          InscriptionsApp app = (InscriptionsApp) this
View Full Code Here

TOP

Related Classes of wicket.markup.html.form.RadioGroup

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.