Update of /cvsroot/displaytag/display09/examples/web/jsp
In directory sc8-pr-cvs1:/tmp/cvs-serv2403/examples/web/jsp
Modified Files:
example-datasource.jsp example-sorting.jsp index.jsp
Log Message:
documentation improvement
Index: example-datasource.jsp
===================================================================
RCS file: /cvsroot/displaytag/display09/examples/web/jsp/example-datasource.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** example-datasource.jsp 16 Jun 2003 18:30:23 -0000 1.2
--- example-datasource.jsp 21 Jun 2003 12:37:48 -0000 1.3
***************
*** 45,49 ****
<p>
The value of the <code>name</code> attribute can be expressed with a
sintax similar to
! <acronym title="expression language">EL</acronym> of <acronym
title="Java standart ag library">JSTL</acronym>.
</p>
--- 45,49 ----
<p>
The value of the <code>name</code> attribute can be expressed with a
sintax similar to
! <acronym title="expression language">EL</acronym> of <acronym
title="Java standar tag library">JSTL</acronym>.
</p>
Index: example-sorting.jsp
===================================================================
RCS file: /cvsroot/displaytag/display09/examples/web/jsp/example-sorting.jsp,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** example-sorting.jsp 17 Jun 2003 20:52:07 -0000 1.3
--- example-sorting.jsp 21 Jun 2003 12:37:48 -0000 1.4
***************
*** 11,15 ****
<h2><a href="./index.jsp">Examples</a> > Wow, auto-sorting by columns</h2>
! <display:table name="sessionScope.stest">
<display:column property="id" title="ID" sortable="true" headerClass="sortable" />
<display:column property="name" sortable="true" headerClass="sortable"/>
--- 11,15 ----
<h2><a href="./index.jsp">Examples</a> > Wow, auto-sorting by columns</h2>
! <display:table name="sessionScope.stest" defaultsort="1">
<display:column property="id" title="ID" sortable="true" headerClass="sortable" />
<display:column property="name" sortable="true" headerClass="sortable"/>
***************
*** 55,58 ****
--- 55,65 ----
All the parameters received in the first request are preserved in sorting.
</p>
+
+ <p class="changed">
+ You can also define the column to be sorted by default (if the user has not yet
+ clicked on any sortable column) specifying the column index in the
<code>defaultsort</code>
+ attribute of the table tag.
+ </p>
+
<%@ include file="inc/footer.jsp" %>
Index: index.jsp
===================================================================
RCS file: /cvsroot/displaytag/display09/examples/web/jsp/index.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** index.jsp 16 Jun 2003 18:30:23 -0000 1.2
--- index.jsp 21 Jun 2003 12:37:48 -0000 1.3
***************
*** 12,16 ****
<li><a href="example-columns.jsp">Basic, columns</a></li>
<li><a href="example-styles.jsp">Basic, columns - different styles</a></li>
! <li><a href="example-datasource.jsp">Basic, acquiring your List of
data</a></li>
<li><a href="example-imp-objects.jsp"><strong>New</strong>, implicit objects
created by table</a></li>
<li><a href="example-subsets.jsp">Basic, showing subsets of data from the
List</a></li>
--- 12,16 ----
<li><a href="example-columns.jsp">Basic, columns</a></li>
<li><a href="example-styles.jsp">Basic, columns - different styles</a></li>
! <li><a href="example-datasource.jsp">Basic, acquiring your List of data
(<strong>new</strong>: expressions!)</a></li>
<li><a href="example-imp-objects.jsp"><strong>New</strong>, implicit objects
created by table</a></li>
<li><a href="example-subsets.jsp">Basic, showing subsets of data from the
List</a></li>
-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner.
Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission!
INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel