On Mon, Oct 29, 2012 at 6:33 PM, Massimo Manghi <[email protected]> wrote:
> New tar balls shipping Rivet 2.0.6 and 2.1.0 are available for download from
>
> http://people.apache.org/~mxmanghi/
>
> feedback will be appreciated.
>
> -- Massimo
>
I think we're seeing a regression in the form package not honoring the
default values for textareas and checkbox. It doesn't seem to affect
text or select. Try the following example:
package require form
set response(department) "Sales"
#parray response
form myform -defaults response -method post
myform start
puts "<table>"
puts "<tr><th>Department:</th><td>"
#myform select department -values {Sales Development Operations}
#myform text department -size 200
myform textarea department -rows 8 -cols 80
puts "</td></tr>"
myform submit save_tps -value "Save Report"
myform end
myform destroy
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]