husted 02/01/20 21:14:13
Modified: doc struts-nested.xml struts-bean.xml
Log:
Comment out the new formatStr documentation for now, since it is
pushing the margins of the page out. Will try to incorporate a
briefer version, and/or move to the developers guide.
Revision Changes Path
1.2 +24 -21 jakarta-struts/doc/struts-nested.xml
Index: struts-nested.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/struts-nested.xml,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- struts-nested.xml 18 Jan 2002 07:23:08 -0000 1.1
+++ struts-nested.xml 21 Jan 2002 05:14:12 -0000 1.2
@@ -15,6 +15,7 @@
<display-name>Struts Nested Tags</display-name>
<uri>http://jakarta.apache.org/struts/tags-nested-1.0</uri>
<info>
+ <p>[Since Struts 1.1]</p>
<p>This tag library brings a nested context to the functionality of the
Struts custom tag library.</p>
@@ -77,18 +78,18 @@
<p>
Example...<br />
<pre>
- <nested:write property="myNestedLevel.propertyOne" />
- <nested:write property="myNestedLevel.propertyTwo" />
- <nested:write property="myNestedLevel.propertyThree" />
+<nested:write property="myNestedLevel.propertyOne" />
+<nested:write property="myNestedLevel.propertyTwo" />
+<nested:write property="myNestedLevel.propertyThree" />
</pre>
Can instead become...
<pre>
- myNestedLevel
- <nested:nest property="myNestedLevel" />
- <nested:write property="propertyOne" />
- <nested:write property="propertyTwo" />
- <nested:write property="propertyThree" />
- </nested:nest >
+ myNestedLevel
+<nested:nest property="myNestedLevel" />
+<nested:write property="propertyOne" />
+<nested:write property="propertyTwo" />
+<nested:write property="propertyThree" />
+</nested:nest >
</pre>
</p>
</info>
@@ -412,6 +413,7 @@
to the <code>String</code>. If nothing specified, then default format
string for value data type will be searched in message resources by
according key.</p>
+<!-- move to developer's guide
<table>
<tr>
<td>Key to search format string</td>
@@ -444,16 +446,17 @@
</tr>
</table>
<p>Default format strings in resources can be written as - <br />
- <pre>
- org.apache.struts.taglib.nested.bean.Nestedformat.int=######
- org.apache.struts.taglib.nested.bean.Nestedformat.float=######,####
- org.apache.struts.taglib.nested.bean.Nestedformat.sql.timestamp=hh
'o''clock' a, zzzz
- org.apache.struts.taglib.nested.bean.Nestedformat.sql.date=EEE, MMM
d, ''yy
- org.apache.struts.taglib.nested.bean.Nestedformat.sql.time=h:mm a
- org.apache.struts.taglib.nested.bean.Nestedformat.date=hh
'o''clock' a, zzzz
- </pre>
+ <pre><small>
+org.apache.struts.taglib.nested.bean.Nestedformat.int=######
+org.apache.struts.taglib.nested.bean.Nestedformat.float=######,####
+org.apache.struts.taglib.nested.bean.Nestedformat.sql.timestamp=hh 'o''clock' a,
zzzz
+org.apache.struts.taglib.nested.bean.Nestedformat.sql.date=EEE, MMM d, ''yy
+org.apache.struts.taglib.nested.bean.Nestedformat.sql.time=h:mm a
+org.apache.struts.taglib.nested.bean.Nestedformat.date=hh 'o''clock' a, zzzz
+ </small></pre>
<br />values for resource file entries are standart Java format strings for
date, time and number values.</p>
+-->
</info>
</attribute>
@@ -5344,10 +5347,10 @@
<info>
<p>Checks whether the currently authenticated user (if any) has been
associated with any of the specified security roles. Use a comma-delimited
- list to check for multiple roles. Example:
- <code><logic:present role="role1,role2,role3">
- code.....
- </logic:present></code></p>
+ list to check for multiple roles. Example:
+ <code><logic:present role="role1,role2,role3">
+ code.....
+ </logic:present></code></p>
</info>
</attribute>
1.11 +2 -0 jakarta-struts/doc/struts-bean.xml
Index: struts-bean.xml
===================================================================
RCS file: /home/cvs/jakarta-struts/doc/struts-bean.xml,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- struts-bean.xml 13 Jan 2002 00:25:35 -0000 1.10
+++ struts-bean.xml 21 Jan 2002 05:14:12 -0000 1.11
@@ -948,6 +948,7 @@
to the <code>String</code>. If nothing specified, then default format
string for value data type will be searched in message resources by
according key.</p>
+<!-- move to developers guide
<table>
<tr>
<td>Key to search format string</td>
@@ -990,6 +991,7 @@
</pre>
<br />values for resource file entries are standart Java format strings for
date, time and number values.</p>
+-->
</info>
</attribute>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>