Package org.apache.openmeetings.web.util

Examples of org.apache.openmeetings.web.util.RoomTypeDropDown


      add(new DropDownChoice<AppointmentReminderTyps>(
          "remind"
          , remindTypes
          , new ChoiceRenderer<AppointmentReminderTyps>("label.value", "typId")));
     
      final DropDownChoice<RoomType> roomType = new RoomTypeDropDown("room.roomtype");
      roomType.setEnabled(createRoom);
      roomType.setOutputMarkupId(true);
      add(roomType);
     
      final DropDownChoice<Room> room = new DropDownChoice<Room>(
          "room"
          , getRoomList()
          , new ChoiceRenderer<Room>("name", "rooms_id"));
      room.setEnabled(!createRoom);
      room.setOutputMarkupId(true);
      add(room);
      add(new AjaxCheckBox("createRoom", new PropertyModel<Boolean>(this, "createRoom")) {
        private static final long serialVersionUID = -3743113990890386035L;

        @Override
        protected void onUpdate(AjaxRequestTarget target) {
          createRoom = getConvertedInput();
          target.add(roomType.setEnabled(createRoom), room.setEnabled(!createRoom));
        }
      });
      add(new AjaxCheckBox("passwordProtected") {
        private static final long serialVersionUID = 6041200584296439976L;
View Full Code Here


        roomParams.setVisible(p.isBookedRoom());
        target.add(bookedRoom, roomParamsBlock);
      }
    }));
    roomParamsBlock.add(roomParams);
    roomParams.add(new RoomTypeDropDown("room.roomtype"));
    roomParams.add(new DateTimeField("start", modelStart));
    roomParams.add(new DateTimeField("end", modelEnd));
    add(form.setOutputMarkupId(true));
  }
View Full Code Here

        roomParams.setVisible(p.isBookedRoom());
        target.add(bookedRoom, roomParamsBlock);
      }
    }));
    roomParamsBlock.add(roomParams);
    roomParams.add(new RoomTypeDropDown("room.roomtype"));
    roomParams.add(new DateTimeField("start", modelStart));
    roomParams.add(new DateTimeField("end", modelEnd));
    add(form.setOutputMarkupId(true));
  }
View Full Code Here

      add(new DropDownChoice<AppointmentReminderTyps>(
          "remind"
          , remindTypes
          , new ChoiceRenderer<AppointmentReminderTyps>("label.value", "typId")));
     
      final DropDownChoice<RoomType> roomType = new RoomTypeDropDown("room.roomtype");
      roomType.setEnabled(createRoom);
      roomType.setOutputMarkupId(true);
      add(roomType);
     
      final DropDownChoice<Room> room = new DropDownChoice<Room>(
          "room"
          , getRoomList()
          , new ChoiceRenderer<Room>("name", "rooms_id"));
      room.setEnabled(!createRoom);
      room.setOutputMarkupId(true);
      add(room);
      add(new AjaxCheckBox("createRoom", new PropertyModel<Boolean>(this, "createRoom")) {
        private static final long serialVersionUID = -3743113990890386035L;

        @Override
        protected void onUpdate(AjaxRequestTarget target) {
          createRoom = getConvertedInput();
          target.add(roomType.setEnabled(createRoom), room.setEnabled(!createRoom));
        }
      });
      add(new AjaxCheckBox("passwordProtected") {
        private static final long serialVersionUID = 6041200584296439976L;
View Full Code Here

TOP

Related Classes of org.apache.openmeetings.web.util.RoomTypeDropDown

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.