Skip to content

Commit b335286

Browse files
committed
Minor updates for 3.5.0 RC 1
Mostly around use of `getFullyQualifiedAction()`.
1 parent b3d2e16 commit b335286

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

source/documentation/3.5/developing-applications.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: "Developing Applications with FW/1"
4-
date: 2015-09-15 18:30
4+
date: 2015-09-22 12:30
55
comments: false
66
sharing: false
77
footer: true
@@ -847,6 +847,6 @@ FW/1 provides a number of convenience methods for manipulating the action value
847847
* `getSection( action )` - Returns the _section_ portion of the action. If no section is specified, returns the default section.
848848
* `getItem( action )` - Returns the _item_ portion of the action. If no item is specified, returns the default item.
849849
* `getSectionAndItem( action )` - Returns the _section.item_ portion of the action, including default values if either part is not specified.
850-
* `getFullyQualifiedAction( action )` - Returns the fully qualified _module:section.item_ version of the action, including defaults where appropriate. If the module name is empty, returns `getSectionAndItem( action )`, without the subsystem delimiter.
850+
* `getFullyQualifiedAction( action )` - Returns the fully qualified _module:section.item_ version of the action, including defaults where appropriate. If the module name is empty, returns `getSectionAndItem( action )`, without the subsystem delimiter. Be careful that _section.item_ is a subsystem-relative action so if you use it inside a subsystem, it will be treated as part of the current subsystem, which is not the same as _:section.item_ (which is treated as part of the main application). This is provided mostly for backward-compatibility and use with Subsystems 1.0 applications.
851851
* `getSubsystemSectionAndItem( action )` - Returns the fully qualified _module:section.item_ version of the action, including defaults where appropriate. If the module name is empty, the subsystem delimiter is still present (so you get _:section.item_) unlike `getFullyQualifiedAction()` above.
852852

source/documentation/3.5/reference-manual.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: "FW/1 Reference Manual"
4-
date: 2015-09-17 19:20
4+
date: 2015-09-22 12:30
55
comments: false
66
sharing: false
77
footer: true
@@ -82,7 +82,7 @@ Request variables:
8282

8383
* `request._framework_one` - In the **Alternative Application Structure**, this contains an instance of the framework or your equivalent of `MyApplication.cfc`.
8484
* `request._fw1` - An opaque structure intended to hide most of the internal request scope variables that FW/1 uses.
85-
* `request.action` - The action specified in the URL or form (after expansion to the fully qualified form). This can be obtained by calling `getFullyQualifiedAction()` or `getSubsystemSectionAndItem()`, depending on the format you want.
85+
* `request.action` - The action specified in the URL or form (after expansion to the fully qualified form). This can be obtained by calling `getSubsystemSectionAndItem()`. Depending on the format you want, you may want to call `getFullyQualifiedAction()` instead, which will only contain the subsystem delimiter if the subsystem name is non-empty. That is the legacy format (for Subsystems 1.0 applications or applications containing no subsystems).
8686
* `request.base` - The canonical path to the application directory (where the `views/` and `layouts/` folders are). There is no API method to access this.
8787
* `request.cfcbase` - If your controllers are not managed by a bean factory, this is the dot-separated path prefix for controller CFCs. There is no API method to access this.
8888
* `request.context` - The request context, the main "data bus" through the application. This is available in controller methods as the argument `rc` and in the views and layouts as the (local) variable `rc`.

0 commit comments

Comments
 (0)