Helma logo
main list history

helma.skin

The helma.skin module provides skinning and templating functionality to Helma applications. A basic Helma skin looks like this:

  Hello <% name %>!

The part between the <% and %> is called a Macro Tag in Helma.

In Helma NG, the skin parser is implemented in Java, while the skin rendering is implemented in JavaScript, the default implementation being the helma.skin module.

Builtin Macros

extends

subskin

render

Methods and Classes

render(skin, context, scope)

createSkin(skin, scope)

Skin(mainskin, subskins, parentskin)

Skin.render(context)

Skin.renderSubskin(skinname, context)

Skin.getSubskin(skinname)