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

Examples of org.dspace.app.xmlui.wing.element.CheckBox.addOption()


   
    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 the "I accept" checkbox
    if(this.errorFlag==org.dspace.submit.step.LicenseStep.STATUS_LICENSE_REJECTED)
    {
      log.info(LogManager.getHeader(context, "reject_license", submissionInfo.getSubmissionLogInfo()));
View Full Code Here


                row = table.addRow();
            }

            selectEPerson = row.addCell().addCheckBox("select_eperson");
            selectEPerson.setLabel(epersonID);
            selectEPerson.addOption(epersonID);
            if (deleteConstraints != null && deleteConstraints.size() > 0)
            {
                selectEPerson.setDisabled();
            }
View Full Code Here

                row = table.addRow();
            }
     
      CheckBox select = row.addCell().addCheckBox("select_field");
      select.setLabel(id);
      select.addOption(id);
     
      row.addCell().addContent(id);
      row.addCell().addXref(url,fieldName);
      row.addCell().addContent(fieldScopeNote);
    }
View Full Code Here

     
      Row row = table.addRow();
     
      CheckBox select = row.addCell().addCheckBox("itemID");
      select.setLabel("Select");
      select.addOption(itemID);
     
      row.addCellContent(owning);
      row.addCell().addXref(url,author);
      row.addCell().addXref(url,title);
    }
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");
         
View Full Code Here

          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

                if (!disableFileEditing)
                {
                    // 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

    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 (canBeMapped)
            {
                CheckBox select = row.addCell().addCheckBox("itemID");
                select.setLabel("Select");
                select.addOption(itemID);
            }
            else
            {
                row.addCell().addContent("");
            }
View Full Code Here

        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");
       
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.