Examples of addPara()


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

    }
    
      Division deleted = body.addInteractiveDivision("group-confirm-delete",
          contextPath+"/admin/epeople",Division.METHOD_POST,"primary administrative groups");
      deleted.setHead(T_head);
      deleted.addPara(T_para);
     
      Table table = deleted.addTable("groups-list",groups.size() + 1, 3);
        Row header = table.addRow(Row.ROLE_HEADER);
        header.addCell().addContent(T_column1);
        header.addCell().addContent(T_column2);
View Full Code Here

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

          row.addCell().addContent(group.getName());
          row.addCell().addContent(group.getMembers().length);
          row.addCell().addContent(group.getMemberGroups().length);
      }
     
      Para buttons = deleted.addPara();
      buttons.addButton("submit_confirm").setValue(T_submit_confirm);
      buttons.addButton("submit_cancel").setValue(T_submit_cancel);
     
      deleted.addHidden("administrative-continue").setValue(knot.getId());
    }
View Full Code Here

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

          query.addHidden("field"+i).setValue(field.getField());
          query.addHidden("query"+i).setValue(field.getQuery());
        }

        buildSearchControls(query);
        query.addPara(null, "button-list").addButton("submit").setValue(T_go);
       
        // Add the result division
        buildSearchResultsDivision(search);

    }
View Full Code Here

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

            jump.addHidden(key).setValue(queryParams.get(key));

        // If this is a date based browse, render the date navigation
        if (isSortedByDate(info))
        {
            Para jumpForm = jump.addPara();

            // Create a select list to choose a month
            jumpForm.addContent(T_jump_select);
            Select month = jumpForm.addSelect(BrowseParams.MONTH);
            month.addOption(false, "-1", T_choose_month);
View Full Code Here

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

                    i--;
            }
            while (i > tenYearBreak);

            // Create a free text entry box for the year
            jumpForm = jump.addPara();
            jumpForm.addContent(T_jump_year);
            jumpForm.addText(BrowseParams.STARTS_WITH).setHelp(T_jump_year_help);

            jumpForm.addButton("submit").setValue(T_go);
        }
View Full Code Here

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

                jumpList.addItemXref(super.generateURL(WITHDRAWN_URL_BASE, cQuery), Character
                        .toString(c));
            }

            // Create a free text field for the initial characters
            Para jumpForm = jump.addPara();
            jumpForm.addContent(T_starts_with);
            jumpForm.addText(BrowseParams.STARTS_WITH).setHelp(T_starts_with_help);

            jumpForm.addButton("submit").setValue(T_go);
        }
View Full Code Here

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

        // Add all the query parameters as hidden fields on the form
        for (String key : queryParams.keySet())
            controls.addHidden(key).setValue(queryParams.get(key));

        Para controlsForm = controls.addPara();

        // If we are browsing a list of items
        if (isItemBrowse(info)) //  && info.isSecondLevel()
        {
            try
View Full Code Here

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

        Division contact = body.addDivision("contact","primary");
    
        contact.setHead(T_head);
       
        String name = ConfigurationManager.getProperty("dspace.name");
        contact.addPara(T_para1.parameterize(name));
       
        List list = contact.addList("contact");
       
        list.addLabel(T_feedback_label);
        list.addItem().addXref(contextPath+"/feedback",T_feedback_link);
View Full Code Here

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

        Division feedback = body.addInteractiveDivision("feedback-form",
                contextPath+"/feedback",Division.METHOD_POST,"primary");
       
        feedback.setHead(T_head);
       
        feedback.addPara(T_para1);
       
        List form = feedback.addList("form",List.TYPE_FORM);
       
        Text email = form.addItem().addText("email");
        email.setLabel(T_email);
View Full Code Here

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

       
    // Division 3:
    //  Creative commons offsite division
      Division offsiteDiv = div.addInteractiveDivision("submit-cclicense-offsite", CREATIVE_COMMONS_URL, Division.METHOD_POST);
        offsiteDiv.setHead(T_head);
      offsiteDiv.addPara(T_info1);
   
      offsiteDiv.addHidden("submission-continue").setValue(knot.getId());
      offsiteDiv.addHidden("partner").setValue("dspace");
      offsiteDiv.addHidden("exit_url").setValue(exitURL);
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.