public class LayoutTag
extends javax.servlet.jsp.tagext.BodyTagSupport
This tag sets request attributes that should be used by the header and footer to render the page appropriately:
dspace.layout.title - title of pagedspace.layout.locbar - value will Boolean true or false
dspace.layout.parenttitles - a List of
Strings corresponding with titles to put in the location bar.
Only set if dspace.layout.locbar is truedspace.layout.parentlinks - a List of
Strings corresponding with links to put in the location bar.
Empty strings mean no link. Will only be set if
dspace.layout.locbar is true.dspace.layout.navbar - value will be "off", or the
navigation bar to include, e.g. "/layout/navbar_default.jsp"dspace.layout.sidebar - contents of the sidebardspace.current.user - the EPerson currently logged in, or
null if anonymous accessdspace.layout.feeddata - String. "NONE"
means no feed from this page; otherwise the Handle of object (community or
collection) the feed is fromdspace.layout.linkparts - String[]. A
cycling sequence of: 2nd part of MIME type (e.g. rdf+rss);
title of feed; path component to go after /feed/ for the actual feed URL
(e.g. rss_1.0). Hence, this array will have 3n
elements where n is the number of feeds.* Additionally the following parameter may be set elsewhere in a Servlet.
dspace.layout.head - extra data to include verbatim in
the <head> element of the page| Constructor and Description |
|---|
LayoutTag() |
| Modifier and Type | Method and Description |
|---|---|
int |
doEndTag() |
int |
doStartTag() |
String |
getFeedData()
Get the value of feedData.
|
String |
getLocbar()
Get the value of locbar.
|
String |
getNavbar()
Get the value of navbar.
|
String |
getNocache()
Get the value of sidebar.
|
String |
getParentlink()
Get the value of parentlink.
|
String |
getParenttitle()
Get the value of parentTitle.
|
String |
getParenttitlekey()
get parent title key (from message dictionary)
|
String |
getSidebar()
Get the value of sidebar.
|
String |
getStyle()
Get the value of style.
|
String |
getTitle()
Get the value of title.
|
String |
getTitlekey() |
void |
setFeedData(String v)
Set the value of feedData.
|
void |
setLocbar(String v)
Set the value of locbar.
|
void |
setNavbar(String v)
Set the value of navbar.
|
void |
setNocache(String v)
Set the value of sidebar.
|
void |
setParentlink(String v)
Set the value of parentlink.
|
void |
setParenttitle(String v)
Set the value of parent.
|
void |
setParenttitlekey(String parentTitleKey)
set parent title key (from message dictionary)
|
void |
setSidebar(String v)
Set the value of sidebar.
|
void |
setStyle(String v)
Set the value of style.
|
void |
setTitle(String v)
Set the value of title.
|
void |
setTitlekey(String titleKey) |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContentfindAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValuepublic int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.BodyTagSupportjavax.servlet.jsp.JspExceptionpublic String getTitle()
public void setTitle(String v)
v - Value to assign to title.public String getTitlekey()
public void setTitlekey(String titleKey)
titleKey - The titleKey to set.public String getNavbar()
public void setNavbar(String v)
v - Value to assign to navbar.public String getLocbar()
public void setLocbar(String v)
v - Value to assign to locbar.public String getParenttitle()
public void setParenttitle(String v)
v - Value to assign to parent.public String getParenttitlekey()
public void setParenttitlekey(String parentTitleKey)
parentTitleKey - The parentTitleKey to set.public String getParentlink()
public void setParentlink(String v)
v - Value to assign to parentlink.public String getStyle()
public void setStyle(String v)
v - Value to assign to style.public String getSidebar()
public void setSidebar(String v)
v - Value to assign to sidebar.public String getNocache()
public void setNocache(String v)
v - Value to assign to sidebar.public String getFeedData()
public void setFeedData(String v)
v - Value to assign to feedData.Copyright © 2016 DuraSpace. All Rights Reserved.