You'll have to add your own rewrite rule since you are not using index.cfm to match something like ^/dashboard:(.8) /index.cfm/dashboard:$1

If you hit this directly in your browser (you'll need to change the host):

http://example.com/dashboard:sys.serveAsset/path/%40css%40basic%2Ecss/.css

I would suspect that nothing will be served because it's not being processed by the event-handler. Ultimately, the request is not getting to Mach-II.

The extra ".css" I can look into but at the moment -- that extra bit is not the cause the issue (although you could try that URL without the .css to see if it makes a difference. Something is amiss with your rewrite rules. Since that occurs before your CFML engine even gets the request, it's something we can't fix in the Mach-II code base. Let me know what you figure out.

Po said the following on 06/04/10 15:00:
This is one of the link tags of the actual html being pushed out:
<link type="text/css" href="/dashboard:sys.serveAsset/path/%40css
%40basic%2Ecss/.css" rel="stylesheet" media="screen,projection" />
The same things happens for js script tags.

The issue is that neither the js nor the css is displayed.  Images in
the dashboard don't use the view tag as far as I can tell, so the
paths are correct and therefore display correctly.

On Apr 6, 3:13 pm, "Peter J. Farrell"<[email protected]>  wrote:
So what does the html look like exactly that is being pushed to the
browser?  Could you paste in a section?

Also, you noted that there is extra characters in the string.  What
exactly is the issue (can't extrapolate exactly from your message)?  Are
images / JS / CSS not being displayed?

.pjf

Po said the following on 06/04/10 13:57:



I am using Mach-ii 1.9.0 BER and Dashboard 1.1.0 BER.
I have only tested this on the dashboard so far.
On Apr 6, 2:48 pm, "Peter J. Farrell"<[email protected]>    wrote:
Po said the following on 06/04/10 13:27:>    It seems that when you set the 
urlBase to an empty string, both the
view:style and view:script tags that are using the path attribute (ex:
p:path="@[email protected]"), create the path incorrectly.  They add a
"/.js" or "/.css" at the end of it.  This is probably the error other
people have been having with rewrites and the dashboard.
I am trying extra rewrite rules to bypass this, but this would just be
a patch.  Any suggestions?
What version of Mach-II are you running? Also, what version of the
Dashboard are you running?
We addressed an issue in the HTMLHelper having to do with this during
1.8 RC2:
https://greatbiztoolsllc.trac.cvsdude.com/mach-ii/ticket/459
If you aren't using the gold / stable release, you might see an issue.
Especially on Dashboard 1.0 (stable).  If you are using that version of
the Dashboard, you should try the 1.1 nightly zip instead.
Also, are you saying it happens to all<view:script>    tags or just the
ones in the Dashboard module?  The webserver is not involved here
because we are serving the JS / CSS content using cfcontent through a
Mach-II event-handler.

--
You received this message because you are subscribed to Mach-II for CFML list.
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/mach-ii-for-coldfusion?hl=en
SVN: http://greatbiztoolsllc.svn.cvsdude.com/mach-ii/
Wiki / Documentation / Tickets: 
http://greatbiztoolsllc.trac.cvsdude.com/mach-ii/

Reply via email to