Returns the correct path to the resource based on the
relative path argument. This usually entails
locating the resource that is most appropriate for the
current users client and locale.
Example Criterion:
Relative Path: images/myimage.gif
Client: web browser
Language: en
Country: US
The implementation should now attempt to resolve the resource using
logic that starts at the most specific and ends at the most general
path.
For exmaples sake, lets say we are concerned with finding the image,
myimage.gif, within the layout decoration, tigris. The logical progression
to find the resourc, myimage.gif, would be as follows:
/decorations/layout/tigris/html/en/US/images/myimage.gif
/decorations/layout/tigris/html/en/images/myimage.gif
/decorations/layout/tigris/html/images/myimage.gif
/decorations/layout/tigris/images/myimage.gif
/decorations/layout/images/myimage.gif
/decorations/layout/images/myimage.gif
Parameters: path - the correct path to the resource based on therelative path argument. |