Package com.semanticcms.core.servlet
Class CurrentPage
- java.lang.Object
-
- com.semanticcms.core.servlet.CurrentPage
-
public final class CurrentPage extends Object
Tracking of the current page during request processing and capturing.
-
-
Field Summary
Fields Modifier and Type Field Description static String
REQUEST_ATTRIBUTE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Page
getCurrentPage(ServletRequest request)
Gets the currentPage ornull
if not inside aPageTag
.static void
setCurrentPage(ServletRequest request, Page page)
-
-
-
Field Detail
-
REQUEST_ATTRIBUTE
public static final String REQUEST_ATTRIBUTE
- See Also:
- Constant Field Values
-
-
Method Detail
-
getCurrentPage
public static Page getCurrentPage(ServletRequest request)
Gets the currentPage ornull
if not inside aPageTag
.
-
setCurrentPage
public static void setCurrentPage(ServletRequest request, Page page)
-
-