Home
The Toolkit for Online Communities
15899 Community Members, 0 members online, 2418 visitors today
Log In Register

Forum OpenACS Q&A: Response to Help on (1) Use of template::form in notes module (2) IFRAME cached by browser

OpenACS Home : Forums : OpenACS Q&A : Response to Help on (1) Use of template::form in notes module (2) IFRAME cached by browser : One Message

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