Package org.apache.openmeetings.web.common

Examples of org.apache.openmeetings.web.common.ConfirmableAjaxLink


      @Override
      protected void onEvent(AjaxRequestTarget target) {
        target.add(trees); //FIXME add correct refresh
      }
    }));
    ConfirmableAjaxLink trash = new ConfirmableAjaxLink("trash", 713) {
      private static final long serialVersionUID = 1L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        long id = rm.getObject().getFlvRecordingId();
        if (id > 0) {
          getBean(FlvRecordingDao.class).delete(rm.getObject());
        }
        target.add(trees); //FIXME add correct refresh
      }
    };
    trash.add(new WebMarkupContainer("drop-center").setOutputMarkupId(true)).add(new DropTarget(Operation.MOVE) {
      private static final long serialVersionUID = 1L;

      @Override
      public void onDrop(AjaxRequestTarget target, Transfer transfer, Location location) throws Reject {
        FlvRecording r = transfer.getData();
View Full Code Here


      @Override
      public void onClick(AjaxRequestTarget target) {
        updateContents(PROFILE_MESSAGES, target);
      }
    });
    add(new ConfirmableAjaxLink("logout", 634L) {
      private static final long serialVersionUID = -2994610981053570537L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        getSession().invalidate();
View Full Code Here

      @Override
      public void onClick(AjaxRequestTarget target) {
        updateContents(PROFILE_MESSAGES, target);
      }
    });
    add(new ConfirmableAjaxLink("logout", 634L) {
      private static final long serialVersionUID = -2994610981053570537L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        getSession().invalidate();
View Full Code Here

      @Override
      protected void onEvent(AjaxRequestTarget target) {
        target.add(trees); //FIXME add correct refresh
      }
    }));
    ConfirmableAjaxLink trash = new ConfirmableAjaxLink("trash", 713) {
      private static final long serialVersionUID = 1L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        long id = rm.getObject().getFlvRecordingId();
        if (id > 0) {
          getBean(FlvRecordingDao.class).delete(rm.getObject());
        }
        target.add(trees); //FIXME add correct refresh
      }
    };
    trash.add(new WebMarkupContainer("drop-center").setOutputMarkupId(true)).add(new DropTarget(Operation.MOVE) {
      private static final long serialVersionUID = 1L;

      @Override
      public void onDrop(AjaxRequestTarget target, Transfer transfer, Location location) throws Reject {
        FlvRecording r = transfer.getData();
View Full Code Here

        item.add(new Label("id", c.getStreamid()));
        item.add(new Label("login", c.getUsername()));
        item.add(new Label("since", c.getConnectedSince()));
        item.add(new Label("scope", c.getScope()));
        item.add(new Label("server", c.getServer() == null ? "no cluster" : c.getServer().getAddress())); //FIXME localization
        item.add(new ConfirmableAjaxLink("kick", 605) {
          private static final long serialVersionUID = 1860369399943234763L;

          @Override
          public void onClick(AjaxRequestTarget target) {
            Client c = item.getModelObject();
View Full Code Here

      @Override
      public void onClick(AjaxRequestTarget target) {
        updateContents(PROFILE_MESSAGES, target);
      }
    });
    add(new ConfirmableAjaxLink("logout", 634L) {
      private static final long serialVersionUID = -2994610981053570537L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        getSession().invalidate();
View Full Code Here

      @Override
      protected void onEvent(AjaxRequestTarget target) {
        target.add(trees); //FIXME add correct refresh
      }
    }));
    ConfirmableAjaxLink trash = new ConfirmableAjaxLink("trash", 713) {
      private static final long serialVersionUID = 1L;

      @Override
      public void onClick(AjaxRequestTarget target) {
        long id = rm.getObject().getFlvRecordingId();
        if (id > 0) {
          getBean(FlvRecordingDao.class).delete(rm.getObject());
        }
        target.add(trees); //FIXME add correct refresh
      }
    };
    trash.add(new WebMarkupContainer("drop-center").setOutputMarkupId(true)).add(new DropTarget(Operation.MOVE) {
      private static final long serialVersionUID = 1L;

      @Override
      public void onDrop(AjaxRequestTarget target, Transfer transfer, Location location) throws Reject {
        FlvRecording r = transfer.getData();
View Full Code Here

        item.add(new Label("id", c.getStreamid()));
        item.add(new Label("login", c.getUsername()));
        item.add(new Label("since", c.getConnectedSince()));
        item.add(new Label("scope", c.getScope()));
        item.add(new Label("server", c.getServer() == null ? "no cluster" : c.getServer().getAddress())); //FIXME localization
        item.add(new ConfirmableAjaxLink("kick", 605) {
          private static final long serialVersionUID = 1860369399943234763L;

          @Override
          public void onClick(AjaxRequestTarget target) {
            Client c = item.getModelObject();
View Full Code Here

TOP

Related Classes of org.apache.openmeetings.web.common.ConfirmableAjaxLink

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.