|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.apache.jetspeed.portlet.IFramePortlet
IFramePortlet TODO: - add capabilities test for IFRAME - add locale specific "no iframes" message
Fields inherited from class javax.portlet.GenericPortlet |
|
Constructor Summary | |
IFramePortlet()
Portlet constructor. |
Method Summary | |
void |
doCustom(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Generate IFRAME with custom source. |
void |
doEdit(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Generate IFRAME with edit source. |
void |
doHelp(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Generate IFRAME with help source. |
protected void |
doIFrame(javax.portlet.RenderRequest request,
String sourceAttr,
javax.portlet.RenderResponse response)
Render IFRAME content |
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response)
Generate IFRAME with view source. |
private String |
getAttributeParam(javax.portlet.PortletConfig config,
String name,
String defaultValue)
Get IFRAME attribute parameter. |
private String |
getSourcePreference(javax.portlet.RenderRequest request,
String name,
String defaultValue)
Get IFRAME source preference value if enabled. |
void |
init(javax.portlet.PortletConfig config)
Initialize portlet configuration. |
Methods inherited from class javax.portlet.GenericPortlet |
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, processAction, render |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String ENABLE_SOURCE_PREFERENCES_PARAM
public static final String CUSTOM_SOURCE_PARAM
public static final String MAXIMIZED_CUSTOM_SOURCE_PARAM
public static final String EDIT_SOURCE_PARAM
public static final String MAXIMIZED_EDIT_SOURCE_PARAM
public static final String HELP_SOURCE_PARAM
public static final String MAXIMIZED_HELP_SOURCE_PARAM
public static final String VIEW_SOURCE_PARAM
public static final String MAXIMIZED_VIEW_SOURCE_PARAM
public static final String ALIGN_ATTR_PARAM
public static final String CLASS_ATTR_PARAM
public static final String FRAME_BORDER_ATTR_PARAM
public static final String HEIGHT_ATTR_PARAM
public static final String ID_ATTR_PARAM
public static final String MARGIN_HEIGHT_ATTR_PARAM
public static final String MARGIN_WIDTH_ATTR_PARAM
public static final String MAXIMIZED_HEIGHT_ATTR_PARAM
public static final String MAXIMIZED_SCROLLING_ATTR_PARAM
public static final String MAXIMIZED_STYLE_ATTR_PARAM
public static final String MAXIMIZED_WIDTH_ATTR_PARAM
public static final String NAME_ATTR_PARAM
public static final String SCROLLING_ATTR_PARAM
public static final String STYLE_ATTR_PARAM
public static final String WIDTH_ATTR_PARAM
public static final String ALIGN_ATTR_DEFAULT
public static final String FRAME_BORDER_ATTR_DEFAULT
public static final String HEIGHT_ATTR_DEFAULT
public static final String MARGIN_HEIGHT_ATTR_DEFAULT
public static final String MARGIN_WIDTH_ATTR_DEFAULT
public static final String MAXIMIZED_HEIGHT_ATTR_DEFAULT
public static final String MAXIMIZED_SCROLLING_ATTR_DEFAULT
public static final String MAXIMIZED_WIDTH_ATTR_DEFAULT
public static final String SCROLLING_ATTR_DEFAULT
public static final String WIDTH_ATTR_DEFAULT
private boolean enableSourcePreferences
private String defaultCustomSource
private String defaultMaximizedCustomSource
private String defaultEditSource
private String defaultMaximizedEditSource
private String defaultHelpSource
private String defaultMaximizedHelpSource
private String defaultViewSource
private String defaultMaximizedViewSource
private String alignAttr
private String classAttr
private String frameBorderAttr
private String heightAttr
private String idAttr
private String marginHeightAttr
private String marginWidthAttr
private String maximizedHeightAttr
private String maximizedScrollingAttr
private String maximizedStyleAttr
private String maximizedWidthAttr
private String nameAttr
private String scrollingAttr
private String styleAttr
private String widthAttr
Constructor Detail |
public IFramePortlet()
Method Detail |
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
javax.portlet.PortletException
public void doCustom(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void doHelp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
javax.portlet.PortletException
IOException
protected void doIFrame(javax.portlet.RenderRequest request, String sourceAttr, javax.portlet.RenderResponse response) throws IOException
IOException
private String getAttributeParam(javax.portlet.PortletConfig config, String name, String defaultValue)
private String getSourcePreference(javax.portlet.RenderRequest request, String name, String defaultValue)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |