Contents > Developing ColdFusion MX Applications > Building and Using ColdFusion Components > Using ColdFusion components > Introspection: getting information about components Requesting a component page from the browser PreviousNext

Requesting a component page from the browser

When you access a CFC directly with a web browser without specifying a component method, the following chain of events occurs:

  1. The request is redirected to CFCExplorer.cfc, which is located in the [webroot]\CFIDE\componentutils directory.
  2. The CFCExplorer component prompts users for the ColdFusion RDS or Administrator password, if necessary.
  3. The CFCExplorer renders an HTML description and returns it to the browser.

The resulting display looks like the following example:

This is a picture of the feature being described.

tests.cfcs.arithCFC
Component arithCFC (Arithmetic Functions)

Miscellaneous functions for doing arithmetic

hierarchy:

WEB-INF.cftags.component
tests.cfcs.arithCFC

path:

C:\cfmx\wwwroot\tests\cfcs\arithCFC.cfc

properties:

something

methods:

add, multiply*

* - private method

Property

Hint

Type

Req.

Implemented In

Default Value

Prop1 (display name here)

I just need this for an example

any

arithCFC

-

add (Addition Function)

remote numeric add ( numeric arg1, numeric arg2 )

Adds integers or floating point numbers

Output: enabled
Parameters:
arg1: numeric, optional, argument 1 - must be numeric
arg2: numeric, optional, arg2

multiply*

private numeric multiply ( numeric argA, numeric argB )

Output: enabled
Parameters:
argA: numeric, optional, argA
argB: numeric, optional, argB

This is a picture of the feature being described.


Contents > Developing ColdFusion MX Applications > Building and Using ColdFusion Components > Using ColdFusion components > Introspection: getting information about components Requesting a component page from the browser PreviousNext

ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting

Version 6.1

Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/buildi31.htm