Index: openacs-4/packages/xowiki/xowiki.info =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/xowiki/xowiki.info,v diff -u -r1.112 -r1.113 --- openacs-4/packages/xowiki/xowiki.info 17 Feb 2009 13:47:49 -0000 1.112 +++ openacs-4/packages/xowiki/xowiki.info 25 Mar 2009 14:01:51 -0000 1.113 @@ -10,11 +10,11 @@ t xowiki - + Gustaf Neumann A more generic xotcl-based wikis example with object types and subtypes based on the content repository (with category support) - 2009-02-17 + 2009-03-25 Gustaf Neumann, WU Wien <pre> XoWiki is a Wiki implementation for OpenACS in XOTcl. Instead of @@ -56,7 +56,7 @@ BSD-Style 0 - + @@ -77,7 +77,7 @@ - + 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.135 -r1.136 --- openacs-4/packages/xowiki/tcl/form-field-procs.tcl 24 Mar 2009 14:15:39 -0000 1.135 +++ openacs-4/packages/xowiki/tcl/form-field-procs.tcl 25 Mar 2009 14:01:51 -0000 1.136 @@ -1300,6 +1300,7 @@ Class radio -superclass enumeration -parameter { {horizontal false} + {forced_name} } radio instproc initialize {} { my set widget_type text(radio) @@ -1310,7 +1311,8 @@ foreach o [my options] { foreach {label rep} $o break set atts [my get_attributes disabled {CSSclass class}] - lappend atts id [my id]:$rep name [my name] type radio value $rep + if {[my exists forced_name]} {set name [my forced_name]} {set name [my name]} + lappend atts id [my id]:$rep name $name type radio value $rep if {$value eq $rep} {lappend atts checked checked} ::html::input $atts {} html::t "$label "