|
||||||||||
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
public class IFramePortlet
IFramePortlet TODO: - add capabilities test for IFRAME - add locale specific "no iframes" message
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 |
getPreferenceOrDefault(javax.portlet.RenderRequest request,
String name,
String defaultValue)
Get IFRAME 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 ENABLE_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 enablePreferences
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 defaultAlignAttr
private String defaultClassAttr
private String defaultFrameBorderAttr
private String defaultHeightAttr
private String defaultIdAttr
private String defaultMarginHeightAttr
private String defaultMarginWidthAttr
private String defaultMaximizedHeightAttr
private String defaultMaximizedScrollingAttr
private String defaultMaximizedStyleAttr
private String defaultMaximizedWidthAttr
private String defaultNameAttr
private String defaultScrollingAttr
private String defaultStyleAttr
private String defaultWidthAttr
Constructor Detail |
---|
public IFramePortlet()
Method Detail |
---|
public void init(javax.portlet.PortletConfig config) throws javax.portlet.PortletException
init
in interface javax.portlet.Portlet
init
in class javax.portlet.GenericPortlet
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
doEdit
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
IOException
public void doHelp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
doHelp
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
IOException
public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
doView
in class javax.portlet.GenericPortlet
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 getPreferenceOrDefault(javax.portlet.RenderRequest request, String name, String defaultValue)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |