WebSphere

 

Portal Express, Version 6.0
Operating systems: i5/OS, Linux, Windows

 

Displaying an item's "last modified" history

The history component tag is used to display an item's "last modified" history. It displays details of when the item was last modified and who by. This tag can be added to presentation templates, element designs and component designs.

<historycmpnt type=" " context=" " name=" " field="lastmodified" format="" start=" " end=" " />
<historycmpnt Opens a history component tag.
type=" " This determines where the workflow field is being referenced from. Either "site", "sitearea", or "content".
context=" " This determines which item is being referenced.

Selected

Refers to a particular item as specified in the name attribute below.

Current

This will reference the component from the current site, site area or content file that is being browsed by the user.

AutoFill

The component being referenced will be determined by the search parameters of a menu, navigator or taxonomy component.
name=" " Enter the name and library of the item being referenced. For example, name="library/item" . If no library is specified, the library specified in the URL of the current page is used. This is not used if context=current or context=autofill.
field=" " This is always equal to "lastmodified".
format="" Used to define the format of the date/time to be displayed within the history details. See Note on formatting dates.
start=" "

end=" "

The start and end attributes are used to wrap the data returned by an IBM® Workplace Web Content Management™ tag within other tags, such as HTML. These attributes are not mandatory. See the Using start and end attributes topic for more information on using these attributes.
/> Closes a Web Content Management tag.

 

Parent topic:

Displaying item details