Package org.dspace.license

Examples of org.dspace.license.CCLicense


      selectList.setEvtBehavior("submitOnChange");
      Iterator<CCLicense> iterator = cclookup.getLicenses(ccLocale).iterator();
      // build select List - first choice always 'choose a license', last always 'No license'
      selectList.addOption(T_select_change.getKey(), T_select_change);
      while (iterator.hasNext()) {
          CCLicense cclicense = iterator.next();
          selectList.addOption(cclicense.getLicenseId(), cclicense.getLicenseName());
            if (selectedLicense != null && selectedLicense.equals(cclicense.getLicenseId()))
          {
              selectList.setOptionSelected(cclicense.getLicenseId());
          }
      }
      selectList.addOption(T_no_license.getKey(), T_no_license);
      if (selectedLicense  !=  null) {
        // output the license fields chooser for the license class type
View Full Code Here

TOP

Related Classes of org.dspace.license.CCLicense

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.