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

Examples of org.dspace.app.xmlui.wing.element.Division.addPara()


        }
        else
        {
            ReferenceSet referenceSet = div.addReferenceSet("narf",ReferenceSet.TYPE_DETAIL_VIEW);
            referenceSet.addReference(item);
            div.addPara().addButton("showsimple").setValue(T_showsimple);
           
            div.addHidden("showfull").setValue("true");
        }
       
View Full Code Here


      Division edit = body.addInteractiveDivision("eperson-edit",contextPath+"/admin/epeople",Division.METHOD_POST,"primary administrative eperson");
      edit.setHead(T_head1);
     
     
      if (errors.contains("eperson_email_key")) {
        Para problem = edit.addPara();
        problem.addHighlight("bold").addContent(T_email_taken);
      }
       
     
        List identity = edit.addList("form",List.TYPE_FORM);
View Full Code Here

      div.setHead(message(header));
    else
      div.setHead(T_head);

    if (message != null && message.length() > 0)
      div.addPara(message(message));
   
    if (characters != null && characters.length() > 0)
      div.addPara(characters);
  }
}
View Full Code Here

    if (message != null && message.length() > 0)
      div.addPara(message(message));
   
    if (characters != null && characters.length() > 0)
      div.addPara(characters);
  }
}
View Full Code Here

   
   
        // DIVISION: metadata-registry-main
    Division main = body.addInteractiveDivision("metadata-registry-main",contextPath+"/admin/metadata-registry",Division.METHOD_POST,"primary administrative metadata-registry ");
    main.setHead(T_head1);
    main.addPara(T_para1);
   
    Table table = main.addTable("metadata-registry-main-table", schemas.length+1, 5);
   
    Row header = table.addRow(Row.ROLE_HEADER);
    header.addCellContent(T_column1);
View Full Code Here

      row.addCell().addXref(url,name);
    }
    if (schemas.length > 1)
    {
      // Only give the delete option if there are more schema's than the required dublin core.
      main.addPara().addButton("submit_delete").setValue(T_submit_delete);
    }
   
   
   
    // DIVISION: add new schema
View Full Code Here

        Text text = queryList.addItem().addText("query");
        text.setLabel(T_full_text_search);
        text.setValue(queryString);
       
        buildSearchControls(query);
        query.addPara(null, "button-list").addButton("submit").setValue(T_go);

        // Add the result division
        buildSearchResultsDivision(search);

    }
View Full Code Here

        if ((jurisdiction != null) && (!"".equals(jurisdiction)))
        {
            offsiteDiv.addHidden("jurisdiction").setValue(jurisdiction.trim());
        }

      Para ccPara = offsiteDiv.addPara("creative-commons-button","creative-commons-button");
      ccPara.addButton("submit_to_creative_commons").setValue(T_submit_to_creative_commons);
 
      // Division 4:
    //  Local onsite division
    Division onsiteDiv = div.addInteractiveDivision("submit-cclicense-offsite", actionURL, Division.METHOD_POST);
View Full Code Here

    // DIVISION: main
      Division main = body.addInteractiveDivision("collection-role-delete",contextPath+"/admin/collection",Division.METHOD_POST,"primary administrative collection");
      main.setHead(T_main_head.parameterize(role));
      // Different help message for the default read group to enforce its non-retroactive nature
      if (role == "DEFAULT_READ")
        main.addPara(T_main_para_read.parameterize(toBeDeleted.getName()));
      else
        main.addPara(T_main_para.parameterize(toBeDeleted.getName()));
     
      Para buttonList = main.addPara();
      buttonList.addButton("submit_confirm").setValue(T_submit_confirm);
View Full Code Here

      main.setHead(T_main_head.parameterize(role));
      // Different help message for the default read group to enforce its non-retroactive nature
      if (role == "DEFAULT_READ")
        main.addPara(T_main_para_read.parameterize(toBeDeleted.getName()));
      else
        main.addPara(T_main_para.parameterize(toBeDeleted.getName()));
     
      Para buttonList = main.addPara();
      buttonList.addButton("submit_confirm").setValue(T_submit_confirm);
      buttonList.addButton("submit_cancel").setValue(T_submit_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.