Package lumis.content.webresource
Class ContentPageWebResourceTitleVariableResolver
- java.lang.Object
-
- lumis.portal.el.PortalVariableResolver
-
- lumis.portal.page.PageWebResourceVariableResolver
-
- lumis.portal.page.webresource.PageWebResourceTitlePatternVariableResolver
-
- lumis.content.webresource.ContentPageWebResourceTitleVariableResolver
-
- All Implemented Interfaces:
javax.servlet.jsp.el.VariableResolver
public class ContentPageWebResourceTitleVariableResolver extends PageWebResourceTitlePatternVariableResolver
Variable resolver that resolves, besides the variables provided byPageWebResourceTitlePatternVariableResolver
, the following variables:- publishedDay
- The -- two letter -- day of month that the content was published or
null
if there's no such information. - publishedMonth
- The -- two letter -- month number that the content was published or
null
if there's no such information. - publishedYear
- The -- four letter -- year that the content was published or
null
if there's no such information.
- Since:
- 10.2.0
- Version:
- $Revision$ $Date$
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class lumis.portal.el.PortalVariableResolver
PortalVariableResolver.EnvironmentBean
-
-
Field Summary
-
Fields inherited from class lumis.portal.page.PageWebResourceVariableResolver
pageWebResource
-
-
Constructor Summary
Constructors Constructor Description ContentPageWebResourceTitleVariableResolver(ContentVersion contentVersion, PageWebResource pageWebResource, java.lang.String simpleTitle)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
resolveVariable(java.lang.String variableName)
-
-
-
Constructor Detail
-
ContentPageWebResourceTitleVariableResolver
public ContentPageWebResourceTitleVariableResolver(ContentVersion contentVersion, PageWebResource pageWebResource, java.lang.String simpleTitle)
-
-
Method Detail
-
resolveVariable
public java.lang.Object resolveVariable(java.lang.String variableName) throws javax.servlet.jsp.el.ELException
- Specified by:
resolveVariable
in interfacejavax.servlet.jsp.el.VariableResolver
- Overrides:
resolveVariable
in classPageWebResourceTitlePatternVariableResolver
- Throws:
javax.servlet.jsp.el.ELException
-
-