Hey Jim,

I'm afraid that we haven't managed to get the documentation together
for the AssetManager yet.

As far as where it looks for asset files, the assetMappings setting
works in basically the same manner as viewMappings -- the AssetManager
loops over the assetMappings, and appends the path for an individual
asset to each assetMapping in turn, looking for a match.

There are two exceptions to this, which are:

1. If a full URL is specified as the path for an asset (i.e., the path
begins with http:// or https://), then that path is used, and the
assetMappings are ignored.

2. If you add a value to the event named "assetMappingAdvice", then
this value is *prepended* to the assetMappings, meaning that it will
take precedence over the CS-defined assetMappings for that event.

Please be sure to let us know if you have any other questions, or run
into any problems/anomalies.

--
Ezra Parker


On Mon, Jan 31, 2011 at 12:04 PM, Jim Priest <[email protected]> wrote:
> Is there any documentation on the new AssetManager?
>
> I've got the assetMappings setup in my CS file.  Is that the only
> place it looks for paths to CSS/JS files?
>
> I've been using it but am running into one weird issue (more about my
> environment than MG) but was curious where AssetManager looks for
> files.
>
> Thanks,
> Jim
>
>
>
> --
> Model-Glue Sites:
> Home Page: http://www.model-glue.com
> Documentation: http://docs.model-glue.com
> Bug Tracker: http://bugs.model-glue.com
> Blog: http://www.model-glue.com/blog
>
> You received this message because you are subscribed to the Google
> Groups "model-glue" 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/model-glue?hl=en
>

-- 
Model-Glue Sites:
Home Page: http://www.model-glue.com
Documentation: http://docs.model-glue.com
Bug Tracker: http://bugs.model-glue.com
Blog: http://www.model-glue.com/blog

You received this message because you are subscribed to the Google
Groups "model-glue" 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/model-glue?hl=en

Reply via email to