Module com.aoindustries.web.struts
Class PageAttributes
java.lang.Object
com.aoindustries.web.struts.skintags.PageAttributes
During the processing of the skin, page attributes are built and stored here, one instance per request.
- Author:
- AO Industries, Inc.
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The possible values for layout.static final String
The possible values for layout.static final ScopeEE.Request.Attribute
<PageAttributes> The following key is used to store the objects in the page attributes. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
Adds an additional link to include for this page in the order they should be added.void
void
Gets the direct children of this page.getLinks()
Gets an optional set of additional links to include for this page in the order they should be added.getMetas()
getPath()
getTitle()
void
void
setAuthorHref
(String authorHref) void
setCopyright
(String copyright) void
setDescription
(String description) void
setFormtype
(Formtype formtype) void
setKeywords
(String keywords) void
void
setNavImageAlt
(String navImageAlt) void
void
void
-
Field Details
-
LAYOUT_NORMAL
The possible values for layout.- See Also:
-
LAYOUT_MINIMAL
The possible values for layout.- See Also:
-
REQUEST_ATTRIBUTE
The following key is used to store the objects in the page attributes.
-
-
Constructor Details
-
PageAttributes
public PageAttributes()
-
-
Method Details
-
getPath
-
setPath
-
getKeywords
-
setKeywords
-
getDescription
-
setDescription
-
getAuthor
-
setAuthor
-
getAuthorHref
-
setAuthorHref
-
getCopyright
-
setCopyright
-
getMetas
-
addMeta
-
getLinks
Gets an optional set of additional links to include for this page in the order they should be added.Please note, that any links to stylesheets here are never optimized. Please prefer the
page-scope web resource registry
. -
addLink
Adds an additional link to include for this page in the order they should be added.Please note, that any links to stylesheets here are never optimized. Please prefer the
page-scope web resource registry
. -
getTitle
-
setTitle
-
getParents
-
addParent
-
getChildren
Gets the direct children of this page. -
addChild
-
getLayout
-
setLayout
-
getFormtype
-
setFormtype
- Parameters:
formtype
- Includes appropriate content in the head based on the type of form.
-
getOnload
-
setOnload
-