Helma logo
helma.org » Home > Stories > res.skinpath

res.skinpath

The res.skinpath can be set to an array that tells Helma where to look for skinsets for the current request/response.

The elements of the array should be either HopObjects, which will be interpreted as database-resident skinsets, or strings, which will be interpreted as directory paths leading to file based skin sets.

If hobj is a HopObject element in the res.skinpath array, then a skin for prototype proto named sname is expected to reside in a string property in hobj.proto.sname.skin.

If path is a string, then the same skin will be looked up in a file called path/proto/sname.skin.


... comment


Page last modified on 2003-09-06 11:13 by hns