Problem with Conventions

2 views
Skip to first unread message

Andrew Scott

unread,
Sep 30, 2008, 5:31:56 AM9/30/08
to col...@googlegroups.com
Playing around with conventions and have discovered this.

<Conventions>
<handlersLocation>_controllers</handlersLocation>
<pluginsLocation>_plugins</pluginsLocation>
<layoutsLocation>_layouts</layoutsLocation>
<viewsLocation>_views</viewsLocation>
</Conventions>

Works, but the following will only error when it tries to run the event/view/ or whatever.

<Conventions>
<handlersLocation>test/_controllers</handlersLocation>
<pluginsLocation>test/_plugins</pluginsLocation>
<layoutsLocation>test/_layouts</layoutsLocation>
<viewsLocation>test/_views</viewsLocation>
</Conventions>
 
Create the directory and it will flow through, but as indicated it won't run the event.
 


--



Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  8676 4223
Mobile: 0404 998 273

Luis Majano

unread,
Sep 30, 2008, 1:28:54 PM9/30/08
to col...@googlegroups.com
Interesting convention. I will check it out Andrew.

Luis

Luis Majano

unread,
Sep 30, 2008, 1:31:26 PM9/30/08
to col...@googlegroups.com
I have created a ticket for it until we find out if it is solvable or not.

http://ortus.svnrepository.com/coldbox/trac.cgi/ticket/581

Andrew Scott

unread,
Sep 30, 2008, 7:20:45 PM9/30/08
to col...@googlegroups.com
 
If it helps, I did do some debugging to try to find it myself.
 
in the example that I gave. the handlerList is the full path of the handler, yet when it is not a normal it is the name of the handler say main.index or something like that.
 
I changed ReFindNoCase to ContainsNoCase which finds the handler, but then errors further down. In the hahdlerRequest
 
Hope that helps.
Reply all
Reply to author
Forward
0 new messages