diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index d072757c..339895d1 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -761,8 +761,8 @@ public final class Application implements IPathElement, Runnable { * Return a skin for a given object. The skin is found by determining the prototype * to use for the object, then looking up the skin for the prototype. */ - public Skin getSkin(Object object, String skinname, Object[] skinpath) { - Prototype proto = getPrototype(object); + public Skin getSkin(String protoname, String skinname, Object[] skinpath) { + Prototype proto = getPrototypeByName(protoname); if (proto == null) { return null;