Package org.dspace.app.xmlui.wing.element

Examples of org.dspace.app.xmlui.wing.element.Item.addButton()


    }
    if (HarvestScheduler.status == HarvestScheduler.HARVESTER_STATUS_PAUSED)
      actionsItem.addButton("submit_harvest_resume").setValue(T_harvest_submit_resume);
    if (HarvestScheduler.status == HarvestScheduler.HARVESTER_STATUS_RUNNING ||
        HarvestScheduler.status == HarvestScheduler.HARVESTER_STATUS_SLEEPING)
      actionsItem.addButton("submit_harvest_pause").setValue(T_harvest_submit_pause);
    if (HarvestScheduler.status != HarvestScheduler.HARVESTER_STATUS_STOPPED)
      actionsItem.addButton("submit_harvest_stop").setValue(T_harvest_submit_stop);
   
    // Can be retrieved via "{context-path}/admin/collection?collectionID={id}"
    String baseURL = contextPath + "/admin/collection?collectionID=";
View Full Code Here


      actionsItem.addButton("submit_harvest_resume").setValue(T_harvest_submit_resume);
    if (HarvestScheduler.status == HarvestScheduler.HARVESTER_STATUS_RUNNING ||
        HarvestScheduler.status == HarvestScheduler.HARVESTER_STATUS_SLEEPING)
      actionsItem.addButton("submit_harvest_pause").setValue(T_harvest_submit_pause);
    if (HarvestScheduler.status != HarvestScheduler.HARVESTER_STATUS_STOPPED)
      actionsItem.addButton("submit_harvest_stop").setValue(T_harvest_submit_stop);
   
    // Can be retrieved via "{context-path}/admin/collection?collectionID={id}"
    String baseURL = contextPath + "/admin/collection?collectionID=";
   
    harvesterControls.addLabel(T_harvest_label_collections);
View Full Code Here

        text.addInstance().setValue("2004");
        text.addInstance().setValue("2005");
       
        // Buttons one typical finds at the end of forums
        Item actions = list.addItem();
        actions.addButton("submit_save").setValue("Save");
        actions.addButton("submit_cancel").setValue("Cancel");
  }
 
    /**
     * Helpfull method to generate the return url to this page given the
View Full Code Here

        text.addInstance().setValue("2005");
       
        // Buttons one typical finds at the end of forums
        Item actions = list.addItem();
        actions.addButton("submit_save").setValue("Save");
        actions.addButton("submit_cancel").setValue("Cancel");
  }
 
    /**
     * Helpfull method to generate the return url to this page given the
     * error & help parameters.
View Full Code Here

           form.addLabel(T_reset_password_for);
           form.addItem(this.email);
          
           form.addLabel();
           Item submit = form.addItem();
           submit.addButton("submit_forgot").setValue(T_submit_reset);
          
           exists.addHidden("email").setValue(this.email);
           exists.addHidden("eperson-continue").setValue(knot.getId());
       }
      
View Full Code Here

       email.setValue(this.email);
       if (errors.contains("email"))
           email.addError(T_error_bad_email);
      
       Item submit = form.addItem();
       submit.addButton("submit").setValue(T_submit_register);
      
       register.addHidden("eperson-continue").setValue(knot.getId());
   }
  
   /**
 
View Full Code Here

    if (bundleCount == 0)
      upload.addItem().addContent(T_no_bundles);
   
    // ITEM: actions
    Item actions = upload.addItem();
    Button button = actions.addButton("submit_upload");
    button.setValue(T_submit_upload);
    if (bundleCount == 0)
      button.setDisabled();
   
    actions.addButton("submit_cancel").setValue(T_submit_cancel);
View Full Code Here

    Button button = actions.addButton("submit_upload");
    button.setValue(T_submit_upload);
    if (bundleCount == 0)
      button.setDisabled();
   
    actions.addButton("submit_cancel").setValue(T_submit_cancel);

    div.addHidden("administrative-continue").setValue(knot.getId());
 
 
  public boolean addBundleOption(org.dspace.content.Item item, Select select, String bundleName) throws SQLException, WingException
View Full Code Here

          text.addError("The day is in error.");
        text.setSize(4,2);
       
        // Buttons one typical finds at the end of forums
        Item actions = list.addItem();
        actions.addButton("submit_save").setValue("Save");
        actions.addButton("submit_cancel").setValue("Cancel");
       
       
       
       
View Full Code Here

        text.setSize(4,2);
       
        // Buttons one typical finds at the end of forums
        Item actions = list.addItem();
        actions.addButton("submit_save").setValue("Save");
        actions.addButton("submit_cancel").setValue("Cancel");
       
       
       
       
        /////////////////////////////////////////////////
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.