org.apache.portals.bridges.php
Class PHPApplicationPortlet
java.lang.Object
javax.portlet.GenericPortlet
org.apache.portals.bridges.php.PHPApplicationPortlet
- All Implemented Interfaces:
- javax.portlet.Portlet, javax.portlet.PortletConfig
- public class PHPApplicationPortlet
- extends javax.portlet.GenericPortlet
This portlet is executes a PHP application in a portlet.
- Version:
- $Id: PHPApplicationPortlet.java 188614 2005-05-25 01:30:38Z ate $
- Author:
- Roger Ruttimann
|
Field Summary |
static java.lang.String |
PARAM_SERVLET_CONTEXT_PROVIDER
INIT parameters required by the PHP Portlet:application and ServletContextProvider
Name of class implementing PHPServletContextProvider |
static java.lang.String |
START_PAGE
Start page for this portlet it must be the path to the script (e.g hosts/index.php) |
|
Method Summary |
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
doView
Renders a PHP file in the portlet. |
void |
init(javax.portlet.PortletConfig config)
|
void |
processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
processAction()
Checks action initiated by the php portlet (invoking other php scripts) |
| Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAM_SERVLET_CONTEXT_PROVIDER
public static final java.lang.String PARAM_SERVLET_CONTEXT_PROVIDER
- INIT parameters required by the PHP Portlet:application and ServletContextProvider
Name of class implementing
PHPServletContextProvider
- See Also:
- Constant Field Values
START_PAGE
public static final java.lang.String START_PAGE
- Start page for this portlet it must be the path to the script (e.g hosts/index.php)
- See Also:
- Constant Field Values
PHPApplicationPortlet
public PHPApplicationPortlet()
init
public void init(javax.portlet.PortletConfig config)
throws javax.portlet.PortletException
- Throws:
javax.portlet.PortletException
processAction
public void processAction(javax.portlet.ActionRequest actionRequest,
javax.portlet.ActionResponse actionResponse)
throws javax.portlet.PortletException,
java.io.IOException
- processAction()
Checks action initiated by the php portlet (invoking other php scripts)
- Parameters:
actionRequest - actionResponse -
- Throws:
javax.portlet.PortletException
java.io.IOException
doView
public void doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
throws javax.portlet.PortletException,
java.io.IOException
- doView
Renders a PHP file in the portlet.
The script parameters are in a PHPParameters object that is passed in the session
- Throws:
javax.portlet.PortletException
java.io.IOException
Copyright © -2005 . All Rights Reserved.