xowiki::FormPage instproc set_property (public)
<instance of xowiki::FormPage> set_property [ -new new ] name \ value
Defined in /var/www/openacs.org/packages/xowiki/tcl/xowiki-procs.tcl
Stores a value as FormPage property
- Switches:
 
- -new (optional, defaults to
 "0")- boolean flag telling if the property is new. Setting a value on a non-existing property without specifying this flag will result in an error.
 - Parameters:
 
- name (required)
 - property name. Names starting with _ indicate an object variable rather than a property stored in instance_attributes
 - value (required)
 - property value
 - Returns:
 - value (eventually converted to a has-notation message key)
 - Testcases:
 - create_form_with_form_instance
 
            
            ![[i]](/resources/acs-subsite/ZoomIn16.gif)