TWebDataItem Object
Properties Methods Events
Represents a single data file (HTML page, image, stylesheet, etc) of your Web-Site-Inside.

Unit
WebSiteInside

Declaration
TWebDataItem = class(TCollectionItem)

Description
Can contain a long string with the data to be served (see Data), an optional event handler (see OnGetData) to produce the data on the fly and/or a reference to another TWebSiteInside component, which in this case works as a subdirectory.

Introduced Public Properties
Data This is the string which holds the data loaded from a file.
MIME This is the MIME type associated with the item.
Name Name of this data item.
Subdir Link to another TWebSiteInside component which works as a subdirectory of this Web-Site-Inside.
TimeStamp The date/time of the last update of the item data.

Introduced Methods
Assign
GetDataByURL
GetDisplayName
SetSubDir
SetTimeStamp

Introduced Public Events
OnGetData You can define a handler for this event to dynamically produce the data served to the browser when this data item is referred.


HTML generated by Time2HELP
http://www.time2help.com