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

Examples of org.dspace.app.xmlui.wing.element.CheckBox


      if (policy.getID() == highlightID)
        row = table.addRow(null, null, "highlight");
      else
        row = table.addRow();
       
        CheckBox select = row.addCell().addCheckBox("select_policy");
          select.setLabel(String.valueOf(policy.getID()));
          select.addOption(String.valueOf(policy.getID()));
         
          // Accounting for the funky case of an empty policy
          Group policyGroup = policy.getGroup();
         
          row.addCell().addXref(baseURL + "&submit_edit&policy_id=" + policy.getID(), String.valueOf(policy.getID()));
View Full Code Here


                }
           
            if (!workflow)
            {
              // Workflow users can not remove files.
                CheckBox remove = row.addCell().addCheckBox("remove");
                remove.setLabel("remove");
                remove.addOption(id);
            }
            else
            {
              row.addCell();
            }
View Full Code Here

          cell = row.addCell(null, null, "doubleIndent");
        else
          cell = row.addCell();
         
       
          CheckBox select = cell.addCheckBox("select_policy");
         
            select.setLabel(String.valueOf(policy.getID()));
            select.addOption(String.valueOf(policy.getID()));
           
            // Accounting for the funky case of an empty policy
            Group policyGroup = policy.getGroup();
           
            row.addCell().addXref(baseURL + "&submit_edit&policy_id=" + policy.getID() +
View Full Code Here

      // Select checkbox
      Cell cell = row.addCell();
      if (format.getID() > 1)
      {
        // Do not allow unknown to be removed.
        CheckBox select = cell.addCheckBox("select_format");
        select.setLabel(id);
        select.addOption(id);
      }
     
      // ID
      row.addCell().addContent(id);
View Full Code Here

   
    inner.addPara(T_info3);
   
    List controls = inner.addList("submit-review", List.TYPE_FORM);
   
    CheckBox decision = controls.addItem().addCheckBox("decision");
    decision.setLabel(T_decision_label);
    decision.addOption("accept",T_decision_checkbox);

    // If user did not check "I accept" checkbox
    if(this.errorFlag==org.dspace.submit.step.LicenseStep.STATUS_LICENSE_REJECTED)
    {
            log.info(LogManager.getHeader(context, "reject_license", submissionInfo.getSubmissionLogInfo()));

      decision.addError(T_decision_error);
    }
   
    //add standard control/paging buttons
        addControlButtons(controls);
  }
View Full Code Here

    supportLevel.addOption(0,T_support_0);
    supportLevel.addOption(1,T_support_1);
    supportLevel.addOption(2,T_support_2);
    supportLevel.setOptionSelected(supportLevelValue);
   
    CheckBox internal = form.addItem().addCheckBox("internal");
    internal.setLabel(T_internal);
    internal.setHelp(T_internal_help);
    internal.addOption((internalValue != null),"true");
   
    Text extensions = form.addItem().addText("extensions");
    extensions.setLabel(T_extensions);
    extensions.setHelp(T_extensions_help);
    extensions.enableAddOperation();
View Full Code Here

        }
       
        if (admin)
        { 
          // Administrative options:
          CheckBox canLogInField = identity.addItem().addCheckBox("can_log_in");
          canLogInField.setLabel(T_can_log_in);
          canLogInField.addOption(canLogInValue, "true");
         
          CheckBox certificateField = identity.addItem().addCheckBox("certificate");
          certificateField.setLabel(T_req_certs);
          certificateField.addOption(certificatValue,"true");
         
         
          // Buttons to reset, delete or login as
          identity.addItem().addHighlight("italic").addContent(T_special_help);
          Item special = identity.addItem();
View Full Code Here

     
      Row row = table.addRow();
      if (schemaID > 1)
      {
        // If the schema is not in the required DC schema allow the user to delete it. 
        CheckBox select = row.addCell().addCheckBox("select_schema");
        select.setLabel(String.valueOf(schemaID));
        select.addOption(String.valueOf(schemaID));
      }
      else
      {
        // The DC schema can not be removed.
        row.addCell();
View Full Code Here

       
        Text phone = identity.addItem().addText("phone");
        phone.setLabel(T_telephone);
        phone.setValue(phoneValue);
       
        CheckBox canLogIn = identity.addItem().addCheckBox("can_log_in");
        canLogIn.setLabel(T_can_log_in);
        canLogIn.addOption(canLogInValue, "yes");
       
        CheckBox certificate = identity.addItem().addCheckBox("certificate");
        certificate.setLabel(T_req_certs);
        certificate.addOption(certificateValue,"yes");
       
        Item buttons = identity.addItem();
        buttons.addButton("submit_save").setValue(T_submit_create);
        buttons.addButton("submit_cancel").setValue(T_submit_cancel);
       
View Full Code Here

        header.addCell().addContent(T_search_column1);
        header.addCell().addContent(T_search_column2);
        header.addCell().addContent(T_search_column3);
        header.addCell().addContent(T_search_column4);

        CheckBox selectEPerson;
        for (EPerson person : epeople)
        {
          String epersonID = String.valueOf(person.getID());
          String fullName = person.getFullName();
          String email = person.getEmail();
          String url = baseURL+"&submit_edit&epersonID="+epersonID;
          Vector<String> deleteConstraints = person.getDeleteConstraints();
         
         
          Row row;
          if (person.getID() == highlightID)
            // This is a highlighted eperson
            row = table.addRow(null, null, "highlight");
          else
            row = table.addRow();
         
          selectEPerson = row.addCell().addCheckBox("select_eperson");
          selectEPerson.setLabel(epersonID);
          selectEPerson.addOption(epersonID);
          if (deleteConstraints != null && deleteConstraints.size() > 0)
            selectEPerson.setDisabled();
         
         
          row.addCellContent(epersonID);
            row.addCell().addXref(url, fullName);
            row.addCell().addXref(url, email);
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.wing.element.CheckBox

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.