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

Examples of org.dspace.app.xmlui.wing.element.Item.addText()


     
       
        // the search function
        actionsList.addLabel(T_label_search);
        Item searchItem = actionsList.addItem();
        Text searchText = searchItem.addText("query");
        if (!query.equals(new String("-1")))
          searchText.setValue(query);
        searchItem.addButton("submit_search_groups").setValue(T_submit_search_groups);
       
       
View Full Code Here


        actions.setHead(T_actions_head);
       
        List actionsList = actions.addList("actions");
        actionsList.addLabel(T_actions_item_lookup);
        Item actionItem = actionsList.addItem();
        Text queryField = actionItem.addText("identifier");
        if (query != null)
          queryField.setValue(query);
        if (errors.contains("identifier"))
          queryField.addError(T_bad_name);
        queryField.setHelp(T_search_help);
View Full Code Here

        actions.setHead(T_actions_head);

        List actionsList = actions.addList("actions");
        actionsList.addLabel(T_actions_item_lookup);
        Item actionItem = actionsList.addItem();
        Text queryField = actionItem.addText("identifier");
        queryField.setAutofocus("autofocus");
        if (query != null)
        {
            queryField.setValue(query);
        }
View Full Code Here

            scope.setLabel(T_search_scope);
            buildScopeList(scope);
        }

        Item searchBoxItem = searchList.addItem();
        Text text = searchBoxItem.addText("query");
        text.setValue(queryString);
        searchBoxItem.addButton("submit", "search-icon").setValue(T_go);
        if(queryResults != null && StringUtils.isNotBlank(queryResults.getSpellCheckQuery()))
        {
            Item didYouMeanItem = searchList.addItem("did-you-mean", "didYouMean");
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.