|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.servlet.jsp.tagext.TagSupport
org.dspace.app.webui.jsptag.LayoutTag
public class LayoutTag
Tag for HTML page layout ("skin").
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
| Field Summary |
|---|
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
|---|
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
|---|
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
|---|---|
LayoutTag()
|
|
| Method Summary | |
|---|---|
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 |
release()
|
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)
|
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
|---|
doAfterBody, findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LayoutTag()
| Method Detail |
|---|
public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag in interface javax.servlet.jsp.tagext.TagdoStartTag in class javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspException
public int doEndTag()
throws javax.servlet.jsp.JspException
doEndTag in interface javax.servlet.jsp.tagext.TagdoEndTag in class javax.servlet.jsp.tagext.TagSupportjavax.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.public void release()
release in interface javax.servlet.jsp.tagext.Tagrelease in class javax.servlet.jsp.tagext.TagSupport
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||