1 package org.paneris.jammyjoes.mvp; 2 3 import org.melati.template.ServletTemplateContext; 4 5 public class ContextWrapper implements Context { 6 7 ServletTemplateContext _wrapped; 8 public ContextWrapper(ServletTemplateContext context) { 9 _wrapped = context; 10 } 11 12 public void put(String string, Object object) { 13 _wrapped.put(string, object); 14 } 15 16 public Object get(Converter converter, String key) { 17 return converter.convert(_wrapped.getForm(key)); 18 } 19 20 }