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

Examples of org.dspace.app.xmlui.wing.element.Metadata


  public void addPageMeta(PageMeta pageMeta) throws WingException
    {
       
    if (active)
    {
          Metadata alert = pageMeta.addMetadata("alert","message");
         
          long time = countDownToo - System.currentTimeMillis();
          if (time > 0)
          {
            // from milliseconds to minutes
            time = time / (60*1000);
           
            alert.addContent(T_COUNTDOWN.parameterize(time));
          }

          alert.addContent(message);
    }
    }
View Full Code Here


  public void addPageMeta(PageMeta pageMeta) throws WingException
    {
       
    if (active)
    {
          Metadata alert = pageMeta.addMetadata("alert","message");
         
          long time = countDownToo - System.currentTimeMillis();
          if (time > 0)
          {
            // from milliseconds to minutes
            time = time / (60*1000);
           
            alert.addContent(T_COUNTDOWN.parameterize(time));
          }

          alert.addContent(message);
    }
    }
View Full Code Here

            {
                log.info("Unhandled identifier URI {}", uri.value);
                continue;
            }
            log.debug("Adding identifier of type {}", idType);
            Metadata md = pageMeta.addMetadata("identifier", idType);
            md.addContent(idValue);
        }

        String sfxserverImg = ConfigurationManager.getProperty("sfx.server.image_url");
        if (sfxserverImg != null && sfxserverImg.length() > 0)
        {
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.wing.element.Metadata

Copyright © 2018 www.massapicom. 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.