Dear rivet community, I am sorry, this is rivet development and here is a user question:
- re-use default values with form <? load_response form form_request -method get -name request -defaults response form_request start form_request text code form_request submit action -value "process" form_request end ?> does not show the last values as default when I press the submit button. When I put debug messages in form.tcl: - the constructor is not able to get the passed array by upvar 1. It is not an array. if {[info exists arguments(defaults)]} { # this exists set defaults $arguments(defaults) # this works -> response upvar 1 $arguments(defaults) defaults # this does not get an array array set DefaultValues [array get defaults] # this sets an empty array unset arguments(defaults) } I don't know itcl, so: - is this normal or is that doe to my recent tcl8.6 trunc + itcl 4 trunc ? --- I also tried Clif Flints tclOO-version. It complains on the call form form_request -method get -name request -defaults response about: wrong method: use new, create or delete Thank you, Harald --------------------------------------------------------------------- To unsubscribe, e-mail: rivet-dev-unsubscr...@tcl.apache.org For additional commands, e-mail: rivet-dev-h...@tcl.apache.org