AppFrameWork Object
Use this object to simplify forms processing in Active Server Pages (ASP).
ProgID: | Commerce.AppFrameWork (Externally creatable) |
COM Class Name: | AppFrameWork |
Type Library Name: | AspLib 1.0 Type Library |
DLL Name: | asplib.dll |
Threading Model: | Both |
The methods of the AppFrameWork object are shown in the following table.
Method | Description |
Option | Generates an option tag on a page. |
RequestDate | Retrieves a value from a URL query string or form post variable and converts it to a Date value (Date Variant). |
RequestDateTime | Retrieves a value from a URL query string or form post variable and converts it to a DateTime value (Date Variant). |
RequestFloat | Retrieves a value from a URL query string or form post variable and converts it to a floating-point value. |
RequestMoneyAsNumber | Retrieves a value from a URL query string or form post variable and converts it as money, based on the specified locale. |
RequestNumber | Retrieves a value from a URL query string or form post variable and converts it to a number. |
RequestString | Retrieves a value from a URL query string or form post variable and performs string processing on it. |
RequestTime | Retrieves a value from a URL query string or form post variable and converts it to a Time value (Date Variant). |
VerifyWith | Generates hidden input fields that contain verification values. |
VirtualDirectory | Returns the name of the virtual directory for the site. |
Remarks
The AppFrameWork object methods fall mainly into the following categories:
Formatting. The Option method makes it possible for you to easily format HTML page items, and where applicable, to determine HTML item values based upon a run time evaluation of other variables used in your page.
Validation. These methods begin with Request, and are used to retrieve values from a URL query string, convert the values to given data types based on a locale value, and validate these values against a specified range.
Before you create this object, you must create the Commerce.DataFunctions object in Application scope.