Helma logo
helma.org » Home > Stories > renderSkinAsString()

renderSkinAsString()

Renders a global skin and returns the result as string.

Similar to renderSkin(), this function returns the result of the rendered skin as string instead of immediately writing it to the response object.

Syntax
renderSkinAsString(String, parameterObject)

Example

var str = renderSkinAsString("example", param);
res.write(str);


which is equivalent to

renderSkin("example", param);


... comment


Page last modified on 2002-07-10 07:53 by tobi