org.openxava.web.portlets
Class HtmlPortlet
java.lang.Object
GenericPortlet
org.openxava.web.portlets.HtmlPortlet
public class HtmlPortlet
- extends GenericPortlet
Return a HTML page.
You only need to define the url of the page.
In this way:
My page
Page
mypage
Supported languages
Languages
en,es,de
The Languages param is optional.
- Author:
- Javier Paniza
|
Method Summary |
void |
doView(RenderRequest request,
RenderResponse response)
Return the page specified in init parameter PARAM_PAGE. |
void |
init(PortletConfig config)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_PAGE
public static final java.lang.String PARAM_PAGE
- Name of HTML page to serve.
- See Also:
- Constant Field Values
PARAM_LANGUAGES
public static final java.lang.String PARAM_LANGUAGES
- See Also:
- Constant Field Values
HtmlPortlet
public HtmlPortlet()
init
public void init(PortletConfig config)
throws PortletException
- Throws:
PortletException
doView
public void doView(RenderRequest request,
RenderResponse response)
throws PortletException,
java.io.IOException
- Return the page specified in init parameter PARAM_PAGE.
- Throws:
PortletException
java.io.IOException