[Fwd: Problem with CFIMPORT]

2006-01-22 Thread Jake McKee
All,

I'm brand new to BlueDragon, but not to CF in general.

I've just set up a local BD test server and uploaded one of my apps to 
see how it works. I'm running into some problems with CFIMPORT. The code 
that works fine with CFMX:

CFIMPORT taglib='/myroot/modules/' prefix='module'

cfoutput
 module:calendarModule
/cfoutput

But this doesn't work in BD. If I change the CFOUTPUT block above to a 
simple include, it works fine.

CFINCLUDE template=calendarModule.cfm

Any idea how to get the CFIMPORT working right?

Thanks!




~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230191
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [Fwd: Problem with CFIMPORT]

2006-01-22 Thread charles arehart
Jake, CFIMPORT is certainly supported and should work. Is it possible that 
you've defined /myroot to be a mapping in the CF Admin? Since CFIMPORT can 
leverage that, you may just be suffering because you forgot to create a mapping 
for that. A common mistake people make when testing on BD is they forget to 
make the same sort of changes in the Admin they'd need to make if moving from, 
say, CF5 to CFMX (datasources, mappings, custom tag paths, CFXs, etc.)

Of course, if /myroot really is the name of a root directory off your web 
site's docroot, then you shouldn't need a mapping. 

If the suggestion above doesn't resolve things for you, can I ask you to please 
raise this question on our interest list (a low-volume list where several of 
our engineers and hundreds of our customers gather to help with such questions, 
rather than here where only a few BD folks may see it)?  Thanks.

/charlie

All,

I'm brand new to BlueDragon, but not to CF in general.

I've just set up a local BD test server and uploaded one of my apps to 
see how it works. I'm running into some problems with CFIMPORT. The code 
that works fine with CFMX:

CFIMPORT taglib='/myroot/modules/' prefix='module'

cfoutput
 module:calendarModule
/cfoutput

But this doesn't work in BD. If I change the CFOUTPUT block above to a 
simple include, it works fine.

CFINCLUDE template=calendarModule.cfm

Any idea how to get the CFIMPORT working right?

Thanks!

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230194
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Re: [Fwd: Problem with CFIMPORT]

2006-01-22 Thread charles arehart
Just a follow-up: I found after responding to this note that Jake had indeed 
also posted the question on our Interest List. (Just happened to see this 
posting first, sorry.) Anyway, the info shared (and the sentiment) is still 
useful. 

Also, many will recommend that one does NOT cross-post the same question to 
multiple lists. Sure, it may seem better for you because you get more and 
different answers, but it leads to confusion like this (and sometimes the 
poster gets multiple useful answers but the readers of only one list don't 
benefit).

Instead, a recommendation is to start with the one list most likely to give a 
targeted answer (the BD list for a BD question, for instance) and then if you 
don't get an adequate reply, start spreading out. We're all free to do what we 
want, of course. It's just a suggestion from 20 years in IT and on mailing 
lists--yes, they existed even back in the 80's before the internet as we know 
it. :-)

/charlie

 Jake, CFIMPORT is certainly supported and should work. Is it possible 
 that you've defined /myroot to be a mapping in the CF Admin? Since 
 CFIMPORT can leverage that, you may just be suffering because you 
 forgot to create a mapping for that. A common mistake people make when 
 testing on BD is they forget to make the same sort of changes in the 
 Admin they'd need to make if moving from, say, CF5 to CFMX 
 (datasources, mappings, custom tag paths, CFXs, etc.)
 
 Of course, if /myroot really is the name of a root directory off your 
 web site's docroot, then you shouldn't need a mapping. 
 
 If the suggestion above doesn't resolve things for you, can I ask you 
 to please raise this question on our interest list (a low-volume list 
 where several of our engineers and hundreds of our customers gather to 
 help with such questions, rather than here where only a few BD folks 
 may see it)?  Thanks.
 
 /charlie
 
 All,
 
 I'm brand new to BlueDragon, but not to CF in general.
 
 I've just set up a local BD test server and uploaded one of my apps 
 to 
 see how it works. I'm running into some problems with CFIMPORT. The 
 code 
 that works fine with CFMX:
 
 CFIMPORT taglib='/myroot/modules/' prefix='module'
 
 cfoutput
  module:calendarModule
 /cfoutput
 
 But this doesn't work in BD. If I change the CFOUTPUT block above to 
 a 
 simple include, it works fine.
 
 CFINCLUDE template=calendarModule.cfm
 
 Any idea how to get the CFIMPORT working right?
 
Thanks!

~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:230195
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54