At the moment we are not supporting it. Several reasons:
1. Bad practice. Since you don’t know for sure what component you end up with
2. Performance. Railo needs to check the different directories and subdirectories
3. Ambiguous references possible. Therefore bad practice.
Just imagine you open the windows explorer and type setup.exe and the first setup.exe it finds will be executed…
This was the bad stuff… now things you can do:
You can define a mapping called
org.mrbuzzy.utils that points to E:\SharedComponents\biz\mrbuzzy\utils\
and one called
org.mrbuzzy.tool that points to E:\App1Components\biz\mrbuzzy\tool\
so combined mappings are possible in Railo.
And we will add the same functionality for cfc paths as it already exists for custom tags. But we won’t use the custom tag paths additionally as search resources. If you need them to be searched, just will need to add a cfc path to the Railo admin once we have implemented it.
Hope this helps. Would you agree?
Greetings from Switzerland
Gert Franz
Railo Technologies Professional Open Source
skype: gert.franz ge...@getrailo.com
+41 76 5680 231 www.getrailo.com
--
You received this message because you are subscribed to the
Google Groups "Railo" group.
To post to this group, send email to ra...@googlegroups.com.
To unsubscribe from this group, send email to
railo+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/railo?hl=en.
1. Bad practice. Since you don’t know for sure what component you end up with
2. Performance. Railo needs to check the different directories and subdirectories
3. Ambiguous references possible. Therefore bad practice.
Just imagine you open the windows explorer and type setup.exe and the first setup.exe it finds will be executed…
And we will add the same functionality for cfc paths as it already exists for custom tags. But we won’t use the custom tag paths additionally as search resources. If you need them to be searched, just will need to add a cfc path to the Railo admin once we have implemented it.
Hope this helps. Would you agree?
Greetings from Switzerland
Gert Franz
--
You received this message because you are subscribed to the Google Groups "Railo" group.
To post to this group, send email to ra...@googlegroups.com.
To unsubscribe from this group, send email to railo+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/railo?hl=en.
-- Michael Offner-Streit CTO Railo Technologies GmbH michael...@railo.ch www.getrailo.com Mailing List (english): http://groups.yahoo.com/group/railo_talk/ Mailing List (german): http://de.groups.yahoo.com/group/railo/ Linked in: http://www.linkedin.com/e/gis/71368/0CF7D323BBC1 Issue Tracker: http://jira.jboss.org/jira/browse/RAILO Blog: http://www.railo-technologies.com/blog
Well no… we will implement it I guess by having the startpoint for the search defined in the admin.
Let’s assume you will add the cfc search paths:
E:\myCFCs
D:\customCFCs
and you address a CFC like this
createObject("component", "directoryname.mycfc")
Railo will expect the cfc named mycfc.cfc to be either located in
E:\myCFCs\directoryname
or in
D:\customCFCs\directoryname
in order for it to be found. I guess that would solve exactly the problem you are addressing… Right?
Gert