What happens if you try and create an object that implements the interface?

It may just be a bug in the cfccomponent viewer that tries to
createObject the interface, which, well - wouldn't work.

Mark

On Thu, May 8, 2008 at 7:40 PM, Marc Esher <[EMAIL PROTECTED]> wrote:
>
>  @Barry: tried that brother! no dice.
>
>  @Mark: that's the thing: there is no surrounding code. this happens
>  with the most basic interface:
>
>  <cfinterface>
>  <cffunction name="hi" access="public" returntype="String"/>
>  </cfinterface>
>
>  trying to view that cfc in the browser throws the error. And, like I
>  said, adding that mapping into cfadmin fixes the problem. but I know I
>  shouldn't need to do that.
>
>  Now, I've gotten this error on 3 different machines so far. BUT, on my
>  home PC, which has an identical setup, filesystem-wise, I don't have
>  the problem.
>
>  strange.
>
>  marc
>
>
>
>  On Wed, May 7, 2008 at 11:48 PM, Barry Beattie <[EMAIL PROTECTED]> wrote:
>  >
>  >  and the other thing I encounted last week is the caching of compents,
>  >  especially when you're still cooking them.
>  >
>  >  I didn't end up tracking down exactly why it was happening, just
>  >  survived the workaround of clearing the cache (in the CF admin) when I
>  >  noticed it was happening.
>  >
>  >  just a thought
>  >
>  >
>  >
>  >
>  >  On 5/8/08, Mark Mandel <[EMAIL PROTECTED]> wrote:
>  >  >
>  >  > Marc -
>  >  >
>  >  > What is the surrounding code you are using to create your component?
>  >  >
>  >  > Mark
>  >  >
>  >  > On Thu, May 8, 2008 at 2:21 AM, Marc Esher <[EMAIL PROTECTED]> wrote:
>  >  > >
>  >  > >  Hey All,
>  >  > >   I'm hitting a weird problem when using cfinterface. the error is:
>  >  > >
>  >  > >  The WEB-INF.cftags.interface ColdFusion component or interface name,
>  >  > >  used to extend or implement the blah.blah.blah component is invalid.
>  >  > >
>  >  > >  what this is saying is that it can't find WEB-INF.cftags.interface 
> isn't valid.
>  >  > >
>  >  > >  In order to get this to work, I had to add a mapping into cfadmin to
>  >  > >  point /WEB-INF/cftags to c:\coldfusion8\wwwroot\WEB-INF\cftags
>  >  > >
>  >  > >  What's weird is that I'd expect cfcomponents to fail, too, since the
>  >  > >  component.cfc is in the same place as the interface.cfc
>  >  > >
>  >  > >  Anyone ever see this before? I'd prefer not to have to use the 
> mapping
>  >  > >  since it creates just one more thing I need to worry about on
>  >  > >  multi-workstation and multi-server deployments.
>  >  > >
>  >  > >  By the way, this is a run-of-the-mill CF8 install.
>  >  > >
>  >  > >  Thanks.
>  >  > >
>  >  > >  Marc
>  >  > >
>  >  > >  >
>  >  > >
>  >  >
>  >  >
>  >  >
>  >  > --
>  >  > E: [EMAIL PROTECTED]
>  >  > W: www.compoundtheory.com
>  >  >
>  >  > >
>  >  >
>  >
>  >  >
>  >
>
>  >
>



-- 
E: [EMAIL PROTECTED]
W: www.compoundtheory.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CFCDev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfcdev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to