Index: openacs-4/packages/xowiki/tcl/form-field-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/tcl/form-field-procs.tcl,v diff -u -r1.239.2.26 -r1.239.2.27 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 9 Feb 2015 09:17:12 -0000 1.239.2.26 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 9 Feb 2015 09:30:02 -0000 1.239.2.27 @@ -3187,6 +3187,25 @@ } } + CompoundField instproc pretty_value {v} { + # + # Typically, subtypes of CompoundFields should define their own + # "pretty_value". This is a simple renderer that provides a + # default behavior. + # + set ff [dict create {*}$v] + set html "\n" + return $html + } + CompoundField instproc has_instance_variable {var value} { set r [next] if {$r} {return 1}