struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rgie...@apache.org
Subject svn commit: r565267 - /struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html
Date Mon, 13 Aug 2007 08:33:46 GMT
Author: rgielen
Date: Mon Aug 13 01:33:44 2007
New Revision: 565267

URL: http://svn.apache.org/viewvc?view=rev&rev=565267
Log:
WW-2108:
Make <s:tabbedpanel> being able to remember last selected tab using a cookie

Modified:
    struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html

Modified: struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html?view=diff&rev=565267&r1=565266&r2=565267
==============================================================================
--- struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html (original)
+++ struts/struts2/trunk/core/src/site/resources/tags/ajax/tabbedpanel.html Mon Aug 13 01:33:44
2007
@@ -132,6 +132,14 @@
 					<td align="left" valign="top">Label expression used for rendering a element specific
label</td>
 				</tr>
 				<tr>
+					<td align="left" valign="top">labelSeparator</td>
+					<td align="left" valign="top">false</td>
+					<td align="left" valign="top">:</td>
+					<td align="left" valign="top">true</td>
+					<td align="left" valign="top">String</td>
+					<td align="left" valign="top">String that will be appended to the labe</td>
+				</tr>
+				<tr>
 					<td align="left" valign="top">labelposition</td>
 					<td align="left" valign="top">false</td>
 					<td align="left" valign="top"></td>
@@ -370,6 +378,14 @@
 					<td align="left" valign="top">true</td>
 					<td align="left" valign="top">String</td>
 					<td align="left" valign="top">Icon path used for image that will have the tooltip</td>
+				</tr>
+				<tr>
+					<td align="left" valign="top">useSelectedTabCookie</td>
+					<td align="left" valign="top">false</td>
+					<td align="left" valign="top">false</td>
+					<td align="left" valign="top">true</td>
+					<td align="left" valign="top">String</td>
+					<td align="left" valign="top">If set to true, the id of the last selected tab
will be stored in cookie. If the view is rendered, it will be tried to read this cookie and
activate the corresponding tab on success, unless overridden by the selectedTab attribute.
The cookie name is "Struts2TabbedPanel_selectedTab_"+id.</td>
 				</tr>
 				<tr>
 					<td align="left" valign="top">value</td>



Mime
View raw message