Date: 2004-08-06T12:34:36 Editor: MichaelMcGrady <[EMAIL PROTECTED]> Wiki: Apache Struts Wiki Page: StrutsCatalogInstrumentableForms URL: http://wiki.apache.org/struts/StrutsCatalogInstrumentableForms
no comment Change Log: ------------------------------------------------------------------------------ @@ -7,7 +7,9 @@ Also, cf. ["StrutsCatalogVariableScreenFields"] and http://jakarta.apache.org/struts/faqs/indexedprops.html {{{ -public class BeanMapForm extends ActionForm implements Map { +public class BeanMapForm + extends ActionForm + implements Map { private Map map; public BeanMapForm() { @@ -23,11 +25,6 @@ return map; } - - public Map getThis() { - return this; - } - public void setProperty(Object key, Object value) { map.put(key,value); } @@ -50,7 +47,7 @@ public Object remove(Object key) { return map.remove(key); } public int size() { return map.size(); } public Collection values() { return map.values(); } - public String toString() { return map.toString(); } + public String toString() { return "BeanMapForm[" + map.toString() + "]"; } } ///;-) }}} -- Michael !McGrady --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
