Thanks for your help Jonathan :)
Do you have any idea where the variables title, body etc is set? (before :title is called?) in the notes module? I have examined the file add-edit.tcl in the notes module, and I can not understand how the code:
template::element create new_note body
-widget textarea
-datatype text
-label "Body"
-html { rows 10 cols 40 wrap soft }
-value $body
actually sets the variable 'body'.
From my understanding, '-widget textarea' defined in widget- procs.tcl only displays the textarea and its content (from database). How does the file notes/www/add-edit.tcl get the new content in the body textarea inputed by the user?
thanks :)
Eric