cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "B.J. Faught" <>
Subject RE: Access denied to .htc file
Date Fri, 27 Aug 2004 09:17:00 GMT
I've tried that, and all it does is allow me to download the file through
the browser.  It doesn't make the behavior work for the DHTML.  Sorry I
didn't say I had tried that before.  It's also the only sitemap trick I've
tried, so if anyone else has other ideas please tell me.

Thanks for your help,

-----Original Message-----
From: [] 
Sent: Friday, August 27, 2004 12:16 AM
Subject: Re: Access denied to .htc file

hi jeff,

yes, you have to specify something in the sitemap ;o)

-- snippet --
<map:match pattern="support/*.htc">
   <map:read src="support/{1}.htc" type="resource"/> </map:match>
-- snippet --

where resource is defined within your sitemap, up near the top within the
map:readers element:

-- snippet --
<map:readers default="resource">
<map:reader logger="sitemap.reader.resource" name="resource" pool-size="32"
-- snippet --

for more, take a look here:


Zitiere "B.J. Faught" <>:

> I'm using an .htc file for mouseover and mouseout behaviors.  When 
> viewing the page from my desktop (not through Cocoon) it behaves fine.  
> But when I
> view the page through Cocoon, I get a JavaScript error saying it could
> not
> access the file (access denied).  For both cases the HTC file was in
> the
> same location with the same name.  I've tried pointing to the file using
> an
> absolute path (e.g. C:\path\to\ and using the Cocoon context
> (e.g.
> /template/htc/
> Do I have to specify something in the sitemap for the behavior file to 
> work? This doesn't make sense to me, but I can't think of any other 
> reason for
> this happening.  I've never run into this problem before, either in
> static
> HTML pages nor in server pages.  Maybe it has something to do with
> being
> transformed (XML/XSL)?
> Any help would be greatly appreciated.
> Thanks,
> Jeff
> Windows XP Home
> Internet Explorer 6.0
> Cocoon 2.1.5
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message