public static Array call(PageContext pc, String filter, String cacheName) throws PageException {
try {
Cache cache = Util.getCache(pc,cacheName,ConfigImpl.CACHE_DEFAULT_OBJECT);
List<String> keys = isFilter(filter)?cache.keys(new WildCardFilter(filter,true)):cache.keys();
Iterator<String> it = keys.iterator();
Array arr = new ArrayImpl();
while(it.hasNext()){
arr.append(it.next());
}