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() |
java.lang.String |
getFeedData()
Get the value of feedData.
|
java.lang.String |
getLocbar()
Get the value of locbar.
|
java.lang.String |
getNavbar()
Get the value of navbar.
|
java.lang.String |
getNocache()
Get the value of sidebar.
|
java.lang.String |
getParentlink()
Get the value of parentlink.
|
java.lang.String |
getParenttitle()
Get the value of parentTitle.
|
java.lang.String |
getParenttitlekey()
get parent title key (from message dictionary)
|
java.lang.String |
getSidebar()
Get the value of sidebar.
|
java.lang.String |
getStyle()
Get the value of style.
|
java.lang.String |
getTitle()
Get the value of title.
|
java.lang.String |
getTitlekey() |
void |
setFeedData(java.lang.String v)
Set the value of feedData.
|
void |
setLocbar(java.lang.String v)
Set the value of locbar.
|
void |
setNavbar(java.lang.String v)
Set the value of navbar.
|
void |
setNocache(java.lang.String v)
Set the value of sidebar.
|
void |
setParentlink(java.lang.String v)
Set the value of parentlink.
|
void |
setParenttitle(java.lang.String v)
Set the value of parent.
|
void |
setParenttitlekey(java.lang.String parentTitleKey)
set parent title key (from message dictionary)
|
void |
setSidebar(java.lang.String v)
Set the value of sidebar.
|
void |
setStyle(java.lang.String v)
Set the value of style.
|
void |
setTitle(java.lang.String v)
Set the value of title.
|
void |
setTitlekey(java.lang.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 java.lang.String getTitle()
public void setTitle(java.lang.String v)
v - Value to assign to title.public java.lang.String getTitlekey()
public void setTitlekey(java.lang.String titleKey)
titleKey - The titleKey to set.public java.lang.String getNavbar()
public void setNavbar(java.lang.String v)
v - Value to assign to navbar.public java.lang.String getLocbar()
public void setLocbar(java.lang.String v)
v - Value to assign to locbar.public java.lang.String getParenttitle()
public void setParenttitle(java.lang.String v)
v - Value to assign to parent.public java.lang.String getParenttitlekey()
public void setParenttitlekey(java.lang.String parentTitleKey)
parentTitleKey - The parentTitleKey to set.public java.lang.String getParentlink()
public void setParentlink(java.lang.String v)
v - Value to assign to parentlink.public java.lang.String getStyle()
public void setStyle(java.lang.String v)
v - Value to assign to style.public java.lang.String getSidebar()
public void setSidebar(java.lang.String v)
v - Value to assign to sidebar.public java.lang.String getNocache()
public void setNocache(java.lang.String v)
v - Value to assign to sidebar.public java.lang.String getFeedData()
public void setFeedData(java.lang.String v)
v - Value to assign to feedData.Copyright © 2018 DuraSpace. All Rights Reserved.