Document List  
<client:documentlistmodule/>  
 

Each Document Lists module defines an instance of a list of documents placed on the project site. The "list" tag is required so the document list tag knows which list to display.

The Document List allows the following attributes:

list (required) document list categories (defaults); comps, diagrams, requirement docs, specifications, proposals
thread_view_page page in the Project Site for dicussions
thread_create_page page in the Project Site for creating discussions
properties a semicolon-delimited list of property names in the left-to-right order they are displayed. If a list is not provided, the module defaults to all properties. The properties define the columns displayed in each module. See available properties in the table below.
property_titles a semicolon-delimited list of property titles in the left-to-right order they are displayed. The order of field names must match the field names in the "properties" attribute.
column_widths a semicolon-delimited list of column widths. The order of column widths will match the column names in the "properties" and "property_titles" attributes. Column widths can be pixels or percentage of available space.
sort_property the property that the list data will be sorted on initially
detail_property the property that links to the detail page. If the property is not provided, no link will appear.
detail_page the file name of the detail page that the detail property will link to. If the file name is not provided, no link will appear.
detail_target target window, so the tag can be used inside a frame
show_all_page the name of the page the "Show All" link will link to. If the name is not provided, the "Show All" link will not appear.
show_all_text the text of the "Show All" link
pagination the number of list items to be shown at a time in the module. If pagination is not provided, the module defaults to 10 items.
cellspacing HTML cell spacing for the table
cellpadding HTML cell padding for the table
border HTML border for the table
width module width, same syntax as HTML table width
title module title
css_prefix All modules reference a common set of styles. If you want your module to have its own set of styles, define this set. Then the set will reference a style named css_prefix<style>.

The Document List allows the following properties:

linkName name of the published document
thread discussion information on the published document
postedDate date file was published on Project Site
status status of published document
fileName filename of published document
expireDate date file is to be deleted from Project Site

Sample of the Document List:

<client:documentlistmodule 
	title="Document List"
	list=<%= request.getParameter("listname")%>
	properties="linkName;thread;postedDate;status"
	property_titles="Document;Thread;Posted Date;Approval Tracking"
	column_widths="30%;20%;20%;30%
	sort_property="name"
	pagination="20"
	cellspacing="0"
	cellpadding="3"
	border="0"
	width="95%"
	thread_create_page="index.jsp"
	approval_page="docitemapproval.jsp"/>