Examples of addHighlight()


Examples of org.dspace.app.xmlui.wing.element.Cell.addHighlight()

      groupData.addCell().addHighlight("bold").addContent(group.getID());
     
      // Mark if this member is pending or not.
      Cell nameCell = groupData.addCell();
      if (AuthorizeManager.isAdmin(context))
        nameCell.addHighlight("bold").addXref(url,T_members_group_name.parameterize(name));
      else
        nameCell.addHighlight("bold").addContent(T_members_group_name.parameterize(name));
     
      if (pendingAddition)
      {
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Cell.addHighlight()

      // Mark if this member is pending or not.
      Cell nameCell = groupData.addCell();
      if (AuthorizeManager.isAdmin(context))
        nameCell.addHighlight("bold").addXref(url,T_members_group_name.parameterize(name));
      else
        nameCell.addHighlight("bold").addContent(T_members_group_name.parameterize(name));
     
      if (pendingAddition)
      {
        nameCell.addContent(" ");
        nameCell.addHighlight("warn").addContent(T_members_pending);
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Cell.addHighlight()

        nameCell.addHighlight("bold").addContent(T_members_group_name.parameterize(name));
     
      if (pendingAddition)
      {
        nameCell.addContent(" ");
        nameCell.addHighlight("warn").addContent(T_members_pending);
      }
     
      groupData.addCell().addContent("-");
     
      if (pendingRemoval)
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Cell.addHighlight()

    Cell nameCell = personData.addCell();
    nameCell.addXref(url, fullName);
    if (pendingAddition)
    {
      nameCell.addContent(" ");
        nameCell.addHighlight("warn").addContent(T_members_pending);
    }
   
    personData.addCell().addXref(url, email);
   
    if (pendingRemoval)
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Cell.addHighlight()

                else if (collectionOrCommunityName.length() > MAX_COLLECTION_OR_COMMUNITY_NAME)
                    collectionOrCommunityName = collectionOrCommunityName.substring(0,MAX_COLLECTION_OR_COMMUNITY_NAME-3) + "...";
             
                cell.addContent(collectionOrCommunityName + " ");
             
            Highlight highlight = cell.addHighlight("fade");

                highlight.addContent("[");
                highlight.addXref(contextPath+"/handle/"+collectionOrCommunity.getHandle(), T_collection_link);
            highlight.addContent("]");
          }
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Cell.addHighlight()

        }
       
        if (groups.length <= 0)
        {
          Cell cell = table.addRow().addCell(1,5);
          cell.addHighlight("italic").addContent(T_no_results);
        }
        else
        {
          search.addPara().addButton("submit_delete").setValue(T_submit_delete)
        }
View Full Code Here

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

            item.addXref(url,group.getName());
           
            // Check if this membership is via another group or not, if so then add a note.
            Group via = findViaGroup(eperson, group);
            if (via != null)
              item.addHighlight("fade").addContent(T_indirect_member.parameterize(via.getName()));
           
          }
         
          if (groups.length <= 0)
            member.addItem().addHighlight("italic").addContent(T_member_none);
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Para.addHighlight()

    // DIVISION: metadata-schema-confirm-delete
      Division deleted = body.addInteractiveDivision("metadata-schema-confirm-delete",contextPath+"/admin/metadata-registry",Division.METHOD_POST,"primary administrative metadata-registry");
      deleted.setHead(T_head);
      deleted.addPara(T_para1);
      Para warning = deleted.addPara();
      warning.addHighlight("bold").addContent(T_warning);
      warning.addContent(T_para2);
     
      Table table = deleted.addTable("schema-confirm-delete",schemas.size() + 1, 3);
        Row header = table.addRow(Row.ROLE_HEADER);
        header.addCell().addContent(T_column1);
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Para.addHighlight()

      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);
        identity.setHead(T_head2.parameterize(eperson.getFullName()));      
View Full Code Here

Examples of org.dspace.app.xmlui.wing.element.Para.addHighlight()

     
      add.setHead(T_head1);
     
      if (errors.contains("eperson_email_key")) {
        Para problem = add.addPara();
        problem.addHighlight("bold").addContent(T_email_taken);
      }
               
        List identity = add.addList("identity",List.TYPE_FORM);
        identity.setHead(T_head2);      
       
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.