From 89e9e1d32fa6c7fafdcb5641964c6de9d2e7548c Mon Sep 17 00:00:00 2001 From: hns Date: Wed, 25 Jun 2003 15:11:02 +0000 Subject: [PATCH] Changed signature of getSkin to take a prototype name instead of a path element parameter. --- src/helma/framework/core/Application.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;