On Tue, Apr 1, 2008 at 7:34 PM, Fernando Padilla <[EMAIL PROTECTED]> wrote:
> So.. outside the context and classpath.. wow.
>
> So how is that accessed then? Like what would the url point to it and
> who would handle it and return something?..
Well the point here is not to discuss when or where to have an (apache
httpd) alias which point to the root directory... is how to make the
Asset facility works dynamically to point to the correct asset base on
the product specificied.
Let's say you'have a URL like this /product/218 which is the product
page with activate context 218 that show the product details for
product with ID 218, now i want to put an asset with the product image
lets say ${asset:dynamic:product.path} which is a relative path on the
filesystem which point to the subdir of a predefined root where i got
access to the image file or just using the id to query the db to get
the actual path of the image.
Regards
--
Massimo
http://meridio.blogspot.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]