📄 strutsviewjspcommand.html
字号:
</DD></DL><HR><A NAME="addQueryParameters(java.lang.String, javax.portlet.PortletRequest)"><!-- --></A><H3>addQueryParameters</H3><PRE>protected void <B>addQueryParameters</B>(java.lang.String query, javax.portlet.PortletRequest request)</PRE><DL><DD>Adds the query parameters to the request object. Expects the query parameters in the form ?param=valu<P><DD><DL><DT><B>Parameters:</B><DD><CODE>query</CODE> - the query string<DD><CODE>request</CODE> - the request object</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 request, <A HREF="../../../../../com/ibm/portal/struts/command/ViewCommandExecutionContext.html" title="class in com.ibm.portal.struts.command">ViewCommandExecutionContext</A> executionContext)</PRE><DL><DD>Saves the attributes specific to JSP 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="getQueryString(javax.portlet.PortletRequest)"><!-- --></A><H3>getQueryString</H3><PRE>public java.lang.String <B>getQueryString</B>(javax.portlet.PortletRequest request)</PRE><DL><DD>Returns the query string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DT><B>Returns:</B><DD>returns the query string</DL></DD></DL><HR><A NAME="setQueryString(javax.portlet.PortletRequest, java.lang.String)"><!-- --></A><H3>setQueryString</H3><PRE>public void <B>setQueryString</B>(javax.portlet.PortletRequest request, java.lang.String query)</PRE><DL><DD>Sets the query string.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>query</CODE> - the query string</DL></DD></DL><HR><A NAME="getUri(javax.portlet.PortletRequest)"><!-- --></A><H3>getUri</H3><PRE>public java.lang.String <B>getUri</B>(javax.portlet.PortletRequest request)</PRE><DL><DD>Returns the URI. The URI will be the path to a JSP file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DT><B>Returns:</B><DD>returns the saved uri, can be <code>null</code></DL></DD></DL><HR><A NAME="setUri(javax.portlet.PortletRequest, java.lang.String)"><!-- --></A><H3>setUri</H3><PRE>public void <B>setUri</B>(javax.portlet.PortletRequest request, java.lang.String uri)</PRE><DL><DD>Sets the URI. The URI will be a path to a JSP file. Typically, the configured <code>ViewCommandFactory</code> will make the determination that the URI is for a JSP file.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>request</CODE> - the portlet request object<DD><CODE>uri</CODE> - the uri</DL></DD></DL><HR><A NAME="addAttributeNameToSave(java.lang.String)"><!-- --></A><H3>addAttributeNameToSave</H3><PRE>public static void <B>addAttributeNameToSave</B>(java.lang.String attributeName)</PRE><DL><DD>Adds 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 attributeName)</PRE><DL><DD>Removes 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 attributeType)</PRE><DL><DD>Adds 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 attributeType)</PRE><DL><DD>Removes 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewErrorCommand.html" title="class in com.ibm.portal.struts.command"><B>PREV CLASS</B></A> <A HREF="../../../../../com/ibm/portal/struts/command/StrutsViewStaticCommand.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> <A HREF="StrutsViewJspCommand.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -