Skip to content

Commit 900013d

Browse files
committed
coldbox 7 compat
1 parent 6189a5b commit 900013d

File tree

14 files changed

+31
-31
lines changed

14 files changed

+31
-31
lines changed

handlers/Main.cfc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ component extends="coldbox.system.RestHandler" {
5555
setting showdebugoutput=false;
5656
// Return the debugger layout+view
5757
// We pass in all the variables needed, to avoid prc/rc conflicts
58-
return renderLayout(
58+
return layout(
5959
layout : isVisualizer ? "Monitor" : "Main",
6060
module : "cbdebugger",
6161
view : "main/debugger",
@@ -95,7 +95,7 @@ component extends="coldbox.system.RestHandler" {
9595
* This action renders out the caching panel only
9696
*/
9797
function renderCacheMonitor( event, rc, prc ){
98-
return renderView(
98+
return view(
9999
view : "main/panels/cacheBoxPanel",
100100
module: "cbdebugger",
101101
args : { debuggerConfig : variables.debuggerConfig }
@@ -114,7 +114,7 @@ component extends="coldbox.system.RestHandler" {
114114
* Get the profilers via ajax
115115
*/
116116
function renderProfilers( event, rc, prc ){
117-
return paramSorting( rc ).renderView(
117+
return paramSorting( rc ).view(
118118
view : "main/partials/profilers",
119119
module: "cbdebugger",
120120
args : {
@@ -148,7 +148,7 @@ component extends="coldbox.system.RestHandler" {
148148
return "<h3 class='cbd-text-red cbd-bg-light-red'>Profiler Id: #encodeForHTML( rc.id )# doesn't exist</h3>";
149149
}
150150

151-
return renderView(
151+
return view(
152152
view : "main/partials/profilerReport",
153153
module: "cbdebugger",
154154
args : {

interceptors/RequestCollector.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ component extends="coldbox.system.Interceptor" {
291291
case "cacheBoxExpireAll":
292292
case "gc": {
293293
// Relay this to the cache monitor
294-
var cache = renderView(
294+
var cache = view(
295295
view : "main/panels/cacheBoxPanel",
296296
module : "cbdebugger",
297297
args : { debuggerConfig : variables.debuggerConfig },

layouts/Main.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
debuggerService : args.debuggerService
1717
} )#
1818

19-
#renderView()#
19+
#view()#
2020

2121
#announce( "afterDebuggerPanel", {
2222
debuggerConfig : args.debuggerConfig,

layouts/Monitor.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929

3030
<!--- Rendering --->
3131
<div class="mt5">
32-
#renderView()#
32+
#view()#
3333
</div>
3434

3535
<!--- Event --->

test-harness/layouts/Embedded.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<script defer src="https://unpkg.com/[email protected]/dist/cdn.min.js"></script>
55
</head>
66
<body>
7-
#renderView()#
7+
#view()#
88
</body>
99
</html>
1010
</cfoutput>

test-harness/layouts/Main.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<cfoutput>
22
<h1>Module Tester</h1>
33
<div>
4-
#renderView()#
4+
#view()#
55
</div>
6-
</cfoutput>
6+
</cfoutput>

views/main/panels/modulesPanel.cfm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ rootModules = args.moduleSettings.filter( function( module, config ){
6262
</div>
6363
</div>
6464

65-
#renderView(
65+
#view(
6666
view : "main/partials/modules",
6767
module : "cbdebugger",
6868
args : {

views/main/panels/requestTracker/acfSqlPanel.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@
250250
x-show="isTimelineView"
251251
x-transition
252252
>
253-
#renderView(
253+
#view(
254254
view : "main/panels/requestTracker/acfSqlTable",
255255
module : "cbdebugger",
256256
args : {
@@ -269,7 +269,7 @@
269269
x-show="isSlowestView"
270270
x-transition
271271
>
272-
#renderView(
272+
#view(
273273
view : "main/panels/requestTracker/acfSqlTable",
274274
module : "cbdebugger",
275275
args : {

views/main/panels/requestTracker/cbormPanel.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@
252252
x-show="isTimelineView"
253253
x-transition
254254
>
255-
#renderView(
255+
#view(
256256
view : "main/panels/requestTracker/cbormSqlTable",
257257
module : "cbdebugger",
258258
args : {
@@ -272,7 +272,7 @@
272272
x-show="isSlowestView"
273273
x-transition
274274
>
275-
#renderView(
275+
#view(
276276
view : "main/panels/requestTracker/cbormSqlTable",
277277
module : "cbdebugger",
278278
args : {

views/main/panels/requestTracker/coldboxCollectionsPanel.cfm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
x-show="panelOpen"
3131
>
3232
<!--- Public Collection --->
33-
#renderView(
33+
#view(
3434
view : "main/partials/collections",
3535
module : "cbdebugger",
3636
args : {
@@ -42,7 +42,7 @@
4242
prePostExempt : true
4343
)#
4444
<!--- Private Collection --->
45-
#renderView(
45+
#view(
4646
view : "main/partials/collections",
4747
module : "cbdebugger",
4848
args : {

0 commit comments

Comments
 (0)