File tree 4 files changed +37
-11
lines changed
4 files changed +37
-11
lines changed Original file line number Diff line number Diff line change 62
62
"format:watch" :" cfformat watch system/**/*.cfc,tests/specs/**/*.cfc ./.cfformat.json" ,
63
63
"format:check" :" cfformat check system/**/*.cfc,tests/specs/**/*.cfc ./.cfformat.json" ,
64
64
"start:lucee" :" server start serverConfigFile='server-lucee@5.json' --force" ,
65
- "start:boxlang" :" server start serverConfigFile='server-boxlang@1.json' --force" ,
65
+ "start:boxlang" :" server start serverConfigFile='server-boxlang-cfml @1.json' --force" ,
66
66
"start:2023" :" server start serverConfigFile='server-adobe@2023.json' --force" ,
67
67
"stop:lucee" :" server stop serverConfigFile='server-lucee@5.json' --force" ,
68
- "stop:boxlang" :" server stop serverConfigFile='server-boxlang@1.json' --force" ,
68
+ "stop:boxlang" :" server stop serverConfigFile='server-boxlang-cfml @1.json' --force" ,
69
69
"stop:2023" :" server stop serverConfigFile='server-adobe@2023.json' --force" ,
70
70
"log:lucee" :" server log coldbox-lucee@5 --follow" ,
71
- "log:boxlang" :" server log coldbox-boxlang@1 --follow" ,
71
+ "log:boxlang" :" server log coldbox-boxlang-cfml @1 --follow" ,
72
72
"log:2023" :" server log coldbox-adobe@2023 --follow"
73
73
},
74
74
"installPaths" :{
Original file line number Diff line number Diff line change @@ -605,19 +605,19 @@ component
605
605
}
606
606
}
607
607
608
+ // Discover the layout location + helpers
609
+ var layoutLocations = discoverViewPaths (
610
+ view : cbox_currentLayout ,
611
+ module : arguments .module ,
612
+ explicitModule : cbox_explicitModule ,
613
+ isLayout : true
614
+ );
615
+
608
616
// If Layout is blank, then just delegate to the view
609
617
// No layout rendering.
610
618
if ( len ( cbox_currentLayout ) eq 0 ) {
611
619
iData .renderedLayout = this .view ();
612
620
} else {
613
- // Discover the layout location + helpers
614
- var layoutLocations = discoverViewPaths (
615
- view : cbox_currentLayout ,
616
- module : arguments .module ,
617
- explicitModule : cbox_explicitModule ,
618
- isLayout : true
619
- );
620
-
621
621
// Render the layout with it's helpers
622
622
iData .renderedLayout = renderViewComposite (
623
623
view : cbox_currentLayout ,
Original file line number Diff line number Diff line change
1
+ component {
2
+
3
+ function preHandler ( event , rc , prc ) {
4
+ event .noLayout ();
5
+ }
6
+
7
+ function login ( event , rc , prc ) {
8
+ event .setView ( " nolayout/login" );
9
+ }
10
+
11
+ }
Original file line number Diff line number Diff line change
1
+ <cfoutput >
2
+ <form action =" /login" method =" post" >
3
+ <label for =" username" >Username:</label >
4
+ <input type =" text" id =" username" name =" username" required >
5
+
6
+ <p > </p >
7
+
8
+ <label for =" password" >Password:</label >
9
+ <input type =" password" id =" password" name =" password" required >
10
+
11
+ <p > </p >
12
+
13
+ <button type =" submit" >Login</button >
14
+ </form >
15
+ </cfoutput >
You can’t perform that action at this time.
0 commit comments