Whitebeam Template Reference Documentation

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Template Reference Documentation

System Template

modified()

Allows Pattern Page to specify when the page being viewed was last modified.

See Also

<rb:cachecontrol...>

Syntax

void = rb.page.modified(time)

Parameters

The 'modified' method takes 1 parameter:

Name Type/Value Range/Length Description
timebool  Optional, default = file-time
Allows the Pattern Page to specify the value to be included in the 'Last-Modified' header sent to the client.

Results

The 'modified' method returns no useful information.

Remarks

By default the Presentation Page sends a Last-Modified HTTP header to client applications specifying the modification date/time of the page being sent as 'now' - that is it is dynamic and just generated. This value should be correct for all occassions.

This method allows the page to specify a different time. The parameter is either missing - in which case the Presentation Engine uses the last modification time-stamp for the source page - or it is taken to be a date object - in which case it is used to specify some other modification date.

Whitebeam release 1.3.36
(loadtime : 118ms)