Examples of addItemXref()


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

       
            for (TreeNode collectionNode : collectionNodes)
            {
                String collectionName = ((Collection) collectionNode.getDSO()).getMetadata("name");
                String collectionUrl = contextPath + "/handle/"+collectionNode.getDSO().getHandle();
                subList.addItemXref(collectionUrl, collectionName);
            }
        }
       
       
        // Add all the sub-communities
View Full Code Here

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

   
    // our options, selected or not....
    if (option == OPTIONS.java)
      options.addItem().addHighlight("bold").addXref("?java",T_option_java);
    else
      options.addItemXref("?java",T_option_java);
   
    if (option == OPTIONS.dspace)
      options.addItem().addHighlight("bold").addXref("?dspace",T_option_dspace);
    else
      options.addItemXref("?dspace",T_option_dspace);
View Full Code Here

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

      options.addItemXref("?java",T_option_java);
   
    if (option == OPTIONS.dspace)
      options.addItem().addHighlight("bold").addXref("?dspace",T_option_dspace);
    else
      options.addItemXref("?dspace",T_option_dspace);
   
    if (option == OPTIONS.alerts)
      options.addItem().addHighlight("bold").addXref("?alerts",T_option_alerts);
    else
      options.addItemXref("?alerts",T_option_alerts);
View Full Code Here

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

      options.addItemXref("?dspace",T_option_dspace);
   
    if (option == OPTIONS.alerts)
      options.addItem().addHighlight("bold").addXref("?alerts",T_option_alerts);
    else
      options.addItemXref("?alerts",T_option_alerts);
   
    if (option == OPTIONS.harvest)
      options.addItem().addHighlight("bold").addXref("?harvest",T_option_harvest);
    else
      options.addItemXref("?harvest",T_option_harvest);
View Full Code Here

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

      options.addItemXref("?alerts",T_option_alerts);
   
    if (option == OPTIONS.harvest)
      options.addItem().addHighlight("bold").addXref("?harvest",T_option_harvest);
    else
      options.addItemXref("?harvest",T_option_harvest);
   
    String userSortTarget = "?activity";
    if (request.getParameter("sortBy") != null)
      userSortTarget += "&sortBy="+request.getParameter("sortBy");
    if (option == OPTIONS.activity)
View Full Code Here

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

    if (request.getParameter("sortBy") != null)
      userSortTarget += "&sortBy="+request.getParameter("sortBy");
    if (option == OPTIONS.activity)
      options.addItem().addHighlight("bold").addXref(userSortTarget,"Current Activity");
    else
      options.addItemXref(userSortTarget,"Current Activity");
   
   
    // The main content:
    if (option == OPTIONS.java)
      addJavaInformation(div);
View Full Code Here

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

        account.setHead(T_my_account);
        EPerson eperson = this.context.getCurrentUser();
        if (eperson != null)
        {
            String fullName = eperson.getFullName();
            account.addItemXref(contextPath+"/logout",T_logout);
            account.addItemXref(contextPath+"/profile",T_profile.parameterize(fullName));
        }
        else
        {
            account.addItemXref(contextPath+"/login",T_login);
View Full Code Here

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

        EPerson eperson = this.context.getCurrentUser();
        if (eperson != null)
        {
            String fullName = eperson.getFullName();
            account.addItemXref(contextPath+"/logout",T_logout);
            account.addItemXref(contextPath+"/profile",T_profile.parameterize(fullName));
        }
        else
        {
            account.addItemXref(contextPath+"/login",T_login);
            if (ConfigurationManager.getBooleanProperty("xmlui.user.registration", true))
View Full Code Here

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

            account.addItemXref(contextPath+"/logout",T_logout);
            account.addItemXref(contextPath+"/profile",T_profile.parameterize(fullName));
        }
        else
        {
            account.addItemXref(contextPath+"/login",T_login);
            if (ConfigurationManager.getBooleanProperty("xmlui.user.registration", true))
              account.addItemXref(contextPath+"/register",T_register);
        }
    }
View Full Code Here

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

        }
        else
        {
            account.addItemXref(contextPath+"/login",T_login);
            if (ConfigurationManager.getBooleanProperty("xmlui.user.registration", true))
              account.addItemXref(contextPath+"/register",T_register);
        }
    }

    /**
     * Add the user metadata
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.