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

Examples of org.dspace.app.xmlui.wing.element.List.addItem()


 
    form.addLabel(T_license);
    if (CreativeCommons.hasLicense(context, item))
    {
      String url = CreativeCommons.getLicenseURL(item);
      form.addItem().addXref(url,url);
     
      form.addItem().addButton("submit_no_cc").setValue(T_submit_remove);
      form.addItem().addHidden("cc_license_url").setValue(url);
        }
    else
View Full Code Here


    if (CreativeCommons.hasLicense(context, item))
    {
      String url = CreativeCommons.getLicenseURL(item);
      form.addItem().addXref(url,url);
     
      form.addItem().addButton("submit_no_cc").setValue(T_submit_remove);
      form.addItem().addHidden("cc_license_url").setValue(url);
        }
    else
    {
      form.addItem().addHighlight("italic").addContent(T_no_license);
View Full Code Here

    {
      String url = CreativeCommons.getLicenseURL(item);
      form.addItem().addXref(url,url);
     
      form.addItem().addButton("submit_no_cc").setValue(T_submit_remove);
      form.addItem().addHidden("cc_license_url").setValue(url);
        }
    else
    {
      form.addItem().addHighlight("italic").addContent(T_no_license);
    }
View Full Code Here

      form.addItem().addButton("submit_no_cc").setValue(T_submit_remove);
      form.addItem().addHidden("cc_license_url").setValue(url);
        }
    else
    {
      form.addItem().addHighlight("italic").addContent(T_no_license);
    }
   
       
    // add standard control/paging buttons
        addControlButtons(form);
View Full Code Here

    }


    List form = div.addList("resume-submission",List.TYPE_FORM);

    org.dspace.app.xmlui.wing.element.Item actions = form.addItem();
    actions.addButton("submit_resume").setValue(T_submit_resume);
    actions.addButton("submit_cancel").setValue(T_submit_cancel);
  }
}
View Full Code Here

      // The grand list of metadata options
      List metadataList = main.addList("metadataList", "form");
     
      // collection name
      metadataList.addLabel(T_label_name);
      Text name = metadataList.addItem().addText("name");
      name.setSize(40);
     
      // short description
      metadataList.addLabel(T_label_short_description);
      Text short_description = metadataList.addItem().addText("short_description");
View Full Code Here

        Division div = body.addInteractiveDivision("select-collection",actionURL,Division.METHOD_POST,"primary submission");
    div.setHead(T_submission_head);
       
        List list = div.addList("select-collection", List.TYPE_FORM);
        list.setHead(T_head);      
        Select select = list.addItem().addSelect("handle");
        select.setLabel(T_collection);
        select.setHelp(T_collection_help);
       
        select.addOption("",T_collection_default);
        for (Collection collection : collections)
View Full Code Here

            if (name.length() > 50)
              name = name.substring(0, 47) + "...";
          select.addOption(collection.getHandle(),name);
        }
       
        Button submit = list.addItem().addButton("submit");
        submit.setValue(T_submit_next);
    }
   
    /**
     * Each submission step must define its own information to be reviewed
View Full Code Here

      Text name = metadataList.addItem().addText("name");
      name.setSize(40);
     
      // short description
      metadataList.addLabel(T_label_short_description);
      Text short_description = metadataList.addItem().addText("short_description");
      short_description.setSize(40);
     
      // introductory text
      metadataList.addLabel(T_label_introductory_text);
      TextArea introductory_text = metadataList.addItem().addTextArea("introductory_text");
View Full Code Here

       
        List actionsList = actions.addList("actions","form");
       
        // actions radio buttons
        actionsList.addLabel(T_label_action);
        Item actionSelectItem = actionsList.addItem();
        Radio actionSelect = actionSelectItem.addRadio("action_id");
        actionSelect.setLabel(T_label_action);
            //Select actionSelect = actionSelectItem.addSelect("action_id");
            //actionsBox.addContent(T_label_action);
            //Select actionSelect = actionsBox.addSelect("action_id");
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.