📄 nestedpropertyhelper.html
字号:
Sets the provided property into the request object for reference by the other nested tags.</TD>
</TR>
</TABLE>
<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><clinit>, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<!-- ============ FIELD DETAIL =========== -->
<A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Field Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="NESTED_INCLUDES_KEY"><!-- --></A><H3>
NESTED_INCLUDES_KEY</H3>
<PRE>
public static final java.lang.String <B>NESTED_INCLUDES_KEY</B></PRE>
<DL>
</DL>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="NestedPropertyHelper()"><!-- --></A><H3>
NestedPropertyHelper</H3>
<PRE>
public <B>NestedPropertyHelper</B>()</PRE>
<DL>
</DL>
<!-- ============ METHOD DETAIL ========== -->
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>
<A NAME="getCurrentProperty(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
getCurrentProperty</H3>
<PRE>
public static final java.lang.String <B>getCurrentProperty</B>(javax.servlet.http.HttpServletRequest request)</PRE>
<DL>
<DD>Returns the current nesting property from the request object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to fetch the property reference from<DT><B>Returns:</B><DD>String of the bean name to nest against</DL>
</DD>
</DL>
<HR>
<A NAME="getCurrentName(javax.servlet.http.HttpServletRequest, org.apache.struts.taglib.nested.NestedNameSupport)"><!-- --></A><H3>
getCurrentName</H3>
<PRE>
public static final java.lang.String <B>getCurrentName</B>(javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../org/apache/struts/taglib/nested/NestedNameSupport.html">NestedNameSupport</A> nested)</PRE>
<DL>
<DD><p>Returns the bean name from the request object that the properties are nesting against.</p> <p>The requirement of the tag itself could be removed in the future, but is required if support for the <html:form> tag is maintained.</p><DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to fetch the bean reference from<DD><CODE>nested</CODE> - tag from which to start the search from<DT><B>Returns:</B><DD>the string of the bean name to be nesting against</DL>
</DD>
</DL>
<HR>
<A NAME="getAdjustedProperty(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3>
getAdjustedProperty</H3>
<PRE>
public static final java.lang.String <B>getAdjustedProperty</B>(javax.servlet.http.HttpServletRequest request, java.lang.String property)</PRE>
<DL>
<DD>Get the adjusted property. Apply the provided property, to the property already stored in the request object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - to pull the reference from<DD><CODE>property</CODE> - to retrieve the evaluated nested property with<DT><B>Returns:</B><DD>String of the final nested property reference.</DL>
</DD>
</DL>
<HR>
<A NAME="setProperty(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3>
setProperty</H3>
<PRE>
public static final void <B>setProperty</B>(javax.servlet.http.HttpServletRequest request, java.lang.String property)</PRE>
<DL>
<DD>Sets the provided property into the request object for reference by the other nested tags.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to set the new property into<DD><CODE>property</CODE> - String to set the property to</DL>
</DD>
</DL>
<HR>
<A NAME="setName(javax.servlet.http.HttpServletRequest, java.lang.String)"><!-- --></A><H3>
setName</H3>
<PRE>
public static final void <B>setName</B>(javax.servlet.http.HttpServletRequest request, java.lang.String name)</PRE>
<DL>
<DD>Sets the provided name into the request object for reference by the other nested tags.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to set the new name into<DD><CODE>name</CODE> - String to set the name to</DL>
</DD>
</DL>
<HR>
<A NAME="deleteReference(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
deleteReference</H3>
<PRE>
public static final void <B>deleteReference</B>(javax.servlet.http.HttpServletRequest request)</PRE>
<DL>
<DD>Deletes the nested reference from the request object.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to remove the reference from</DL>
</DD>
</DL>
<HR>
<A NAME="setNestedProperties(javax.servlet.http.HttpServletRequest, org.apache.struts.taglib.nested.NestedPropertySupport)"><!-- --></A><H3>
setNestedProperties</H3>
<PRE>
public static void <B>setNestedProperties</B>(javax.servlet.http.HttpServletRequest request, <A HREF="../../../../../org/apache/struts/taglib/nested/NestedPropertySupport.html">NestedPropertySupport</A> tag)</PRE>
<DL>
<DD>Helper method that will set all the relevant nesting properties for the provided tag reference depending on the implementation.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to pull references from<DD><CODE>tag</CODE> - to set the nesting values into</DL>
</DD>
</DL>
<HR>
<A NAME="referenceInstance(javax.servlet.http.HttpServletRequest)"><!-- --></A><H3>
referenceInstance</H3>
<PRE>
private static final <A HREF="../../../../../org/apache/struts/taglib/nested/NestedReference.html">NestedReference</A> <B>referenceInstance</B>(javax.servlet.http.HttpServletRequest request)</PRE>
<DL>
<DD>Pulls the current nesting reference from the request object, and if there isn't one there, then it will create one and set it.<DD><DL>
<DT><B>Parameters:</B><DD><CODE>request</CODE> - object to manipulate the reference into<DT><B>Returns:</B><DD>current nesting reference as stored in the request object</DL>
</DD>
</DL>
<HR>
<A NAME="calculateRelativeProperty(java.lang.String, java.lang.String)"><!-- --></A><H3>
calculateRelativeProperty</H3>
<PRE>
private static java.lang.String <B>calculateRelativeProperty</B>(java.lang.String property, java.lang.String parent)</PRE>
<DL>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>
<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
<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"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/NestedPropertyHelper.html"><FONT CLASS="NavBarFont1"><B>Use</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="../../../../../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">
PREV CLASS
<A HREF="../../../../../org/apache/struts/taglib/nested/NestedPropertyTag.html"><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="NestedPropertyHelper.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: INNER | <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>
<!-- =========== END OF NAVBAR =========== -->
<HR>
Copyright
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -