Class ViewPost
- java.lang.Object
-
- org.fenixedu.cms.domain.component.ViewPost
-
- All Implemented Interfaces:
CMSComponent
public class ViewPost extends Object implements CMSComponent
Component that obtains the necessary info about aPost
-
-
Constructor Summary
Constructors Constructor Description ViewPost()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(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, wait
-
Methods inherited from interface org.fenixedu.cms.domain.component.CMSComponent
externalize
-
-
-
-
Method Detail
-
handle
public void handle(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'- 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.
-
-