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

📄 strutsviewtilescommand.html

📁 门户开发
💻 HTML
📖 第 1 页 / 共 3 页
字号:
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Construct our View command</TD></TR></TABLE>&nbsp;<!-- ========== METHOD SUMMARY =========== --><A NAME="method_summary"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN=2><FONT SIZE="+2"><B>Method Summary</B></FONT></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#addAttributeNameToSave(java.lang.String)">addAttributeNameToSave</A></B>(java.lang.String&nbsp;attributeName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#addAttributeTypeToSave(java.lang.Class)">addAttributeTypeToSave</A></B>(java.lang.Class&nbsp;attributeType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;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</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#execute(javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)">execute</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Execute the given command given the request and response objects</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#includeURL(java.lang.String, javax.portlet.RenderRequest, javax.portlet.RenderResponse, com.ibm.portal.struts.command.ViewCommandExecutionContext)">includeURL</A></B>(java.lang.String&nbsp;url,           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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Include the URL</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#removeAttributeNameToSave(java.lang.String)">removeAttributeNameToSave</A></B>(java.lang.String&nbsp;attributeName)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the name of an attribute from the list of attribute names to  save</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>static&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#removeAttributeTypeToSave(java.lang.Class)">removeAttributeTypeToSave</A></B>(java.lang.Class&nbsp;attributeType)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the class type of the request attribute from the list of  attributes to save.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewTilesCommand.html#saveAttributes(javax.portlet.PortletRequest, com.ibm.portal.struts.command.ViewCommandExecutionContext)">saveAttributes</A></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)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Save the attributes specific to Tiles rendering.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.ibm.portal.struts.command.StrutsViewJspCommand"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.ibm.portal.struts.command.<A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewJspCommand</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html#addQueryParameters(java.lang.String, javax.portlet.PortletRequest)">addQueryParameters</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html#getQueryString(javax.portlet.PortletRequest)">getQueryString</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html#getUri(javax.portlet.PortletRequest)">getUri</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html#setQueryString(javax.portlet.PortletRequest, java.lang.String)">setQueryString</A>, <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewJspCommand.html#setUri(javax.portlet.PortletRequest, java.lang.String)">setUri</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_com.ibm.portal.struts.command.StrutsViewCommand"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class com.ibm.portal.struts.command.<A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewCommand.html" title="class in com.ibm.portal.struts.command">StrutsViewCommand</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><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="IncludeURL"><!-- --></A><H3>IncludeURL</H3><PRE>protected static final java.lang.String <B>IncludeURL</B></PRE><DL><DD>name of request attribute for whether or not to include the uri<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#com.ibm.portal.struts.command.StrutsViewTilesCommand.IncludeURL">Constant Field Values</A></DL></DL><HR><A NAME="messages"><!-- --></A><H3>messages</H3><PRE>protected static org.apache.struts.util.MessageResources <B>messages</B></PRE><DL><DD>The message resources for the Struts Portlet Framework.<P><DL></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="StrutsViewTilesCommand(java.lang.String, javax.portlet.PortletRequest)"><!-- --></A><H3>StrutsViewTilesCommand</H3><PRE>public <B>StrutsViewTilesCommand</B>(java.lang.String&nbsp;uri,                              javax.portlet.PortletRequest&nbsp;request)</PRE><DL><DD>Construct our View command<P><DT><B>Parameters:</B><DD><CODE>uri</CODE> - the uri path to the JSP<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>

⌨️ 快捷键说明

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