Class ViewPost
java.lang.Object
org.fenixedu.cms.domain.component.ViewPost
- All Implemented Interfaces:
CMSComponent
Component that obtains the necessary info about a
Post-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandle(Page page, TemplateContext local, TemplateContext global) fetches a post based on the 'q' parameter of the request and saves that post on the local and global context as 'post'Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.fenixedu.cms.domain.component.CMSComponent
externalize
-
Constructor Details
-
ViewPost
public ViewPost()
-
-
Method Details
-
handle
fetches a post based on the 'q' parameter of the request and saves that post on the local and global context as 'post'- Specified by:
handlein interfaceCMSComponent- Parameters:
page- the page where the component will be rendered.local- local context for the component.global- global context where the component is being rendered.
-