Yep.  I'm using the DefaultClassResolver in the current implementation
(see the OP).

The images folder is relative to the location of the component.  If
the component is in /com/components/MyComponent, then the images are
all in /com/components/images.

It seems that the ideal solution would be a service that takes two
parameters:  a component and a relative path and returns an IAsset.  I
just don't know how to write such a component.

For now I'm hardcoding the path to "/com/components/images/" +
imageName.  It works but (as you were quick to agree) it smells like a
hack.

-Mike

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to