⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 strutsviewerrorcommand.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<TD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#addAttribute(java.lang.Object, java.util.List)">addAttribute</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#getContentType(javax.portlet.PortletRequest)">getContentType</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#getPrefix(javax.portlet.PortletRequest)">getPrefix</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#getRemoveOnModeChange()">getRemoveOnModeChange</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#getSavedAttributes()">getSavedAttributes</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#getSavedCommand(javax.portlet.PortletRequest, javax.portlet.PortletResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)">getSavedCommand</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#removeAttribute(java.lang.Object, java.util.List)">removeAttribute</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#repopulateRequest(javax.portlet.RenderRequest)">repopulateRequest</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveAsAttribute(java.lang.String, java.lang.Object)">saveAsAttribute</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveAttribute(javax.portlet.PortletRequest, java.lang.String)">saveAttribute</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveAttributes(javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext, java.util.List, java.util.List)">saveAttributes</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveCommand(javax.portlet.PortletRequest, javax.portlet.PortletResponse)">saveCommand</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveCommand(javax.portlet.PortletRequest, javax.portlet.PortletResponse, java.lang.String)">saveCommand</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#setContentType(javax.portlet.PortletRequest)">setContentType</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#setContentType(javax.portlet.PortletRequest, java.lang.String)">setContentType</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#setPrefix(javax.portlet.PortletRequest, java.lang.String)">setPrefix</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#setRemoveOnModeChange(boolean)">setRemoveOnModeChange</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#setSavedAttributes(java.util.Map)">setSavedAttributes</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="ERROR_INFO"><!-- --></A><H3>ERROR_INFO</H3><PRE>protected static final java.lang.String <B>ERROR_INFO</B></PRE><DL><DD>name of request attribute for error info object<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.ibm.portal.struts.command.StrutsViewErrorCommand.ERROR_INFO">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="StrutsViewErrorCommand(com.ibm.portal.struts.portlet.ErrorResponseInfo, javax.portlet.PortletRequest)"><!-- --></A><H3>StrutsViewErrorCommand</H3><PRE>public <B>StrutsViewErrorCommand</B>(<A HREF="../../../../../com/ibm/portal/struts/portlet/ErrorResponseInfo.html" title="class in com.ibm.portal.struts.portlet">ErrorResponseInfo</A>&nbsp;errorInfo,                              javax.portlet.PortletRequest&nbsp;request)</PRE><DL><DD>Construct our View command<P><DT><B>Parameters:</B><DD><CODE>errorInfo</CODE> - the ErrorResponseInfo object<DD><CODE>request</CODE> - The request object to save context information from</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="execute(javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>execute</H3><PRE>public void <B>execute</B>(javax.portlet.RenderRequest&nbsp;request,                    javax.portlet.RenderResponse&nbsp;response,                    <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;executionContext)             throws javax.portlet.PortletException</PRE><DL><DD>Execute the given command given the request and response objects<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/IViewCommand.html#execute(javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)">execute</A></CODE> in interface <CODE><A HREF="../../../../../com/ibm/portal/struts/command/IViewCommand.html" title="interface in com.ibm.portal.struts.command">IViewCommand</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#execute(javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)">execute</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - The request object<DD><CODE>response</CODE> - The response object<DD><CODE>executionContext</CODE> - the execution context object<DT><B>Throws:</B><DD><CODE>javax.portlet.PortletException</CODE> - if the request cannot be fulfilled</DL></DD></DL><HR><A NAME="saveAttributes(javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)"><!-- --></A><H3>saveAttributes</H3><PRE>public void <B>saveAttributes</B>(javax.portlet.PortletRequest&nbsp;request,                           <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A>&nbsp;executionContext)</PRE><DL><DD>Save the attributes specific to ErrorResponseInfo rendering.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html#saveAttributes(javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)">saveAttributes</A></CODE> in class <CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the request object<DD><CODE>executionContext</CODE> - the context object</DL></DD></DL><HR><A NAME="setErrorInfo(javax.portlet.PortletRequest, com.ibm.portal.struts.portlet.ErrorResponseInfo)"><!-- --></A><H3>setErrorInfo</H3><PRE>public void <B>setErrorInfo</B>(javax.portlet.PortletRequest&nbsp;request,                         <A HREF="../../../../../com/ibm/portal/struts/portlet/ErrorResponseInfo.html" title="class in com.ibm.portal.struts.portlet">ErrorResponseInfo</A>&nbsp;errorInfo)</PRE><DL><DD>Set the error response info object<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>errorInfo</CODE> - the error response info object</DL></DD></DL><HR><A NAME="getErrorInfo(javax.portlet.PortletRequest)"><!-- --></A><H3>getErrorInfo</H3><PRE>public <A HREF="../../../../../com/ibm/portal/struts/portlet/ErrorResponseInfo.html" title="class in com.ibm.portal.struts.portlet">ErrorResponseInfo</A> <B>getErrorInfo</B>(javax.portlet.PortletRequest&nbsp;request)</PRE><DL><DD>Get the error response info object<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DT><B>Returns:</B><DD>returns the error response info object</DL></DD></DL><HR><A NAME="addAttributeNameToSave(java.lang.String)"><!-- --></A><H3>addAttributeNameToSave</H3><PRE>public static void <B>addAttributeNameToSave</B>(java.lang.String&nbsp;attributeName)</PRE><DL><DD>Add the name of an attribute from the object request the needs to be  saved if present for the execution of the IViewCommand in Portal's render phase<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name of the attribute</DL></DD></DL><HR><A NAME="removeAttributeNameToSave(java.lang.String)"><!-- --></A><H3>removeAttributeNameToSave</H3><PRE>public static void <B>removeAttributeNameToSave</B>(java.lang.String&nbsp;attributeName)</PRE><DL><DD>Remove the name of an attribute from the list of attribute names to  save<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeName</CODE> - the name of the attribute</DL></DD></DL><HR><A NAME="addAttributeTypeToSave(java.lang.Class)"><!-- --></A><H3>addAttributeTypeToSave</H3><PRE>public static void <B>addAttributeTypeToSave</B>(java.lang.Class&nbsp;attributeType)</PRE><DL><DD>Add the class type of an attribute from request that needs to be  saved if present for the execution of the IViewCommand in Portal's  render phase<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeType</CODE> - the attribute type</DL></DD></DL><HR><A NAME="removeAttributeTypeToSave(java.lang.Class)"><!-- --></A><H3>removeAttributeTypeToSave</H3><PRE>public static void <B>removeAttributeTypeToSave</B>(java.lang.Class&nbsp;attributeType)</PRE><DL><DD>Remove the class type of the request attribute from the list of  attributes to save.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>attributeType</CODE> - the attribute type</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html" title="class in com.ibm.portal.struts.command"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="StrutsViewErrorCommand.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -